Re: [xsl] generating xml from xml

Subject: Re: [xsl] generating xml from xml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 10 Nov 2003 16:00:32 GMT

I think you just want the indentity transformation (copied from the xslt
spec)
 with one extra template

<xsl:template match="Trade/*">
 <xsl:element name="{/Data/Fields/_[@id=name(current())]/@fn}">
  <xsl:apply-templates/>
 </xsl:element>
</xsl:template>


> and my limitation is, the parser I can use should be MSXML3.0 or less. 

the above will work with any xslt system, which includes msxml3, clearly
msxml previous to version 3 won't work as it doesn't implement xslt at
all.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread