[Home] [By Thread] [By Date] [Recent Entries]
Tempore 12:51:02, die 02/09/2005 AD, hinc in
xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Robert Soesemann
<rsoesemann@xxxxxxxxxxx>:
Yes indeed.<doc> <fragment>...</fragment> <fragment>...</fragment> <fragment>...</fragment> ... </doc> use this tremplate: <xsl:template match="fragment"> <xsl:copy> <xsl:attribute name="pos"><xsl:value-of select="position()"/></xsl:attribute> <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template>
regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) "Et ipsa scientia potestas est" - Francis Bacon , Meditationes sacrae
|

Cart



