Subject: [xsl] aborting element creation From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Thu, 10 Feb 2005 17:43:23 +0100 |
In other words, how can I transform this XML: <root> <node encapsulate="container"/> <node/> </root>
<root> <container> <node encapsulate="container"/> </container> <node/> </root>
<xsl:template match="node"> <xsl:element name="{@encapsulate}"> <xsl:copy-of select="."/> </xsl:element> </xsl:template>
Thanks in advance -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Vincit omnia simplicitas Keep it simple
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] tokenize() for text wrap, Richard Lewis | Thread | RE: [xsl] aborting element creation, Michael Kay |
RE: [xsl] tokenize() for text wrap, Richard Lewis | Date | Re: [xsl] Converting wd-XSL to XSLT, Jim Smith |
Month |