Subject: Re: [xsl] generating xml from xml From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 10 Nov 2003 11:22:11 -0500 |
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>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] generating xml from xml, David Carlisle | Thread | Re: [xsl] generating xml from xml, Wendell Piez |
Re: [xsl] generating xml from xml, Wendell Piez | Date | RE: [xsl] generating xml from xml, Wendell Piez |
Month |