This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XML tag translation problem


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]