equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
|
3 |
|
4 <xsl:template match="/"> |
|
5 <xsl:text> |
|
6 </xsl:text><xsl:apply-templates select="/root//@*"/> |
|
7 |
|
8 </xsl:template> |
|
9 |
|
10 <xsl:template match="tag">tag<xsl:value-of select="position()"/><xsl:text> </xsl:text></xsl:template> |
|
11 <xsl:template match="subtag">subtag<xsl:value-of select="position()"/><xsl:text> </xsl:text></xsl:template> |
|
12 <xsl:template match="root">root<xsl:value-of select="position()"/><xsl:text> </xsl:text></xsl:template> |
|
13 <xsl:template match="emp">emp<xsl:value-of select="position()"/><xsl:text> </xsl:text></xsl:template> |
|
14 <xsl:template match="b">b<xsl:value-of select="position()"/><xsl:text> </xsl:text></xsl:template> |
|
15 <xsl:template match="text()"></xsl:template> |
|
16 |
|
17 </xsl:stylesheet> |