Subject: RE: [xsl] help on attribute name From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Thu, 26 May 2005 00:00:12 +0000 |
<data> <eftee id="T21" val="T-ventuno"/> <eftee id="T67" val="T-sessantasette"/> <eftee id="T1" val="T-uno"/> </data>
<xsl:template match="/"> <data> <xsl:apply-templates/> </data> </xsl:template>
<?xml version="1.0" encoding="UTF-8"?> <data> <ft T21="T-ventuno"/> <ft T67="T-sessantasette"/> <ft T1="T-uno"/> </data>
this is what I wish to generate <?xml version="1.0" encoding="UTF-8"?> <fmcpfixxml fixversion="4.2"> <ft T35="D"/> <ft T11="6462"/> <ft T1="75265"/> <!-- lot more tuples like the above --> </fmcpfixxml>
This ugly and code bloat. I would like to have generated this as follows
<xsl:call-template name="taggen" > <xsl:with-param name="id" select='T35' /> <xsl:with-param name="value" select='D' /> </xsl:call-template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] help on attribute name, Wendell Piez | Thread | [xsl] Double-spacing <para/>, David Nedrow |
[xsl] XSLT Debugger / Gui, Zak Nixon | Date | RE: [xsl] XSLT Debugger / Gui, Aron Bock |
Month |