Subject: Re: XML tag translation problem
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 23 Jan 2001 17:41:58 +0100
|
"Snyder, Christopher" wrote:
>
> Hello everyone. My apologies in advance for bringing this to the list if in
> fact there is an answer in the archive. I've searched the xsl-l and xml-l
> archives without finding information enough to sort out what needs done.
You get the namespace wrong !
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
should be:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Additionaly, you need to add a similar template to handle the attributes
and should also take care if your documents and includinf namespaces
since name() gives you the full (qualified) name.
Hope this helps.
Eric
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea http://dyomedea.com
http://xmlfr.org http://4xt.org http://ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|