This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XML tag translation problem
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] XML tag translation problem
- From: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Tue, 23 Jan 2001 17:41:58 +0100
- Organization: Dyomedea <http://dyomedea.com>
- References: <100A6E7AD9CBD31192E900508BB1E9E77B253B@ctcjst-mail1.ctc.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
"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