Hi ALL,
I want to count the character position from the root using Xpath expression and Line number
For Eg
Now i want to count the fnm position from root
<charpos>53</charpos>
and line no is
Can anyone help how to get this value
I am able to match the node
Thanks
Sam
I want to count the character position from the root using Xpath expression and Line number
For Eg
Code:
<book> <title>Modern Computers</title> <author><fnm>Samuel</fnm><snm>N</snm></author> <text>This book deals with </text> </book>
<charpos>53</charpos>
and line no is
Can anyone help how to get this value
I am able to match the node
Code:
<xsl:template match="fnm"> <lineno>??</lineno> <charpos>??</charpos> </xsl:template>
Sam
Comment