I
Ivan_G_S
Hello community!
I'm looking for a possibility to create a kind of URL, which
represents the absolute path to a node.
I have an XML document with multiple-nested paragraphs. (Think of a
file directory tree).
Inside a template that matches paragraphs ( <xsl:template
match="paragraph"> ) I need to be able to say: position of current
paragraph is (for example) /1/3/5/2
Like the command 'pwd' in Linux, but with positions instead of
directory names.
( /#7/#4/#5 instead of /usr/lib/java )
But I am also very thankful for a proposed solution with names,
instead of numbers!!!
Thanx in advice!
I'm looking for a possibility to create a kind of URL, which
represents the absolute path to a node.
I have an XML document with multiple-nested paragraphs. (Think of a
file directory tree).
Inside a template that matches paragraphs ( <xsl:template
match="paragraph"> ) I need to be able to say: position of current
paragraph is (for example) /1/3/5/2
Like the command 'pwd' in Linux, but with positions instead of
directory names.
( /#7/#4/#5 instead of /usr/lib/java )
But I am also very thankful for a proposed solution with names,
instead of numbers!!!
Thanx in advice!