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: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 23 Jan 2001 16:50:57 GMT
- References: <100A6E7AD9CBD31192E900508BB1E9E77B253B@ctcjst-mail1.ctc.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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