I’m looking for an XPath expression in XSLT that will give me the line and column number of the position in the input XML file where the matched element is. Perhaps looking like this:
<xsl:template match="//foo">
element foo is at line <xsl:value-of select="...?" /> column <xsl:value-of select="...?" /> of the input file
</xsl:template>
Is there any way to do this with XSLT?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire