> How can i copy everything between the <cell> tag more than once?
<xsl:template match="cell">
<xsl:copy-of select="*"/>
<xsl:copy-of select="*"/>
</xsl:template>
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
>
> <?xml version="1.0"?>
> <row>
> <cell>
> <data atr="1">9</data>
> <namedcell name="A"/>
> <data atr="2">9</data>
> <namedcell name="B"/>
> </cell>
> </row>
>
> Should become:
>
> <?xml version="1.0"?>
> <row>
> <cell>
> <data atr="1">9</data>
> <namedcell name="A"/>
> <data atr="2">9</data>
> <namedcell name="B"/>
> <data atr="1">9</data>
> <namedcell name="A"/>
> <data atr="2">9</data>
> <namedcell name="B"/>
> </cell>
> </row>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|