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



> What I'm getting is, in ie 5.0 with the 3.0 parser added

With MSXSL 3 you have the choice of two incompatible languages.
One language is called http://www.w3.org/TR/WD-xsl and is only really
there for compatibility with MSXML2. You don't really want to use that
(and if you do, you won't get much help on this list, which is about
XSLT) You have specified that language at the top of your stylesheet
but then used the syntax of XSLT. So firstl you need to correct your
top level element to look like


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0"
                >



I wasn't sure from your description whether you wanted to lowercase
attribute names. Your suggested code would not do so
you need to have a similar template that matches @* instead of * and 
uses xsl:attribute rather than xsl:element.

David

 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]