Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- exclude-result-prefixes="xs"
- version="2.0">
- <xsl:template match="//p" priority="0">
- <xsl:copy-of select="."/>
- <xsl:value-of select="'//p'"/>
- </xsl:template>
- <xsl:template match="p">
- <xsl:copy-of select="."/>
- <xsl:value-of select="'p'"/>
- </xsl:template>
- </xsl:stylesheet>
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- exclude-result-prefixes="xs"
- version="2.0">
- <xsl:template match="//p">
- <xsl:copy-of select="."/>
- <xsl:value-of select="'//p'"/>
- </xsl:template>
- <xsl:template match="p" priority="0.5">
- <xsl:copy-of select="."/>
- <xsl:value-of select="'p'"/>
- </xsl:template>
- </xsl:stylesheet>
Add Comment
Please, Sign In to add comment