Yes, your expression gives the correct answer.
I shall fit it in my program
thanks for your help and time.
Markus
User Profile
Collapse
-
thanks for your help.
I was puzzeld about the xpath expression because in the program I use it is a legal xpath expression if the debugger is in the top template. But on the next template the debugger says: "Error in xpath expression...." I seem to fail to understand important things in xpath.
In order to find a solution to my question, I tried out to find an xpath expression which finds out if the...Leave a comment:
-
thanks very much for your answer.
I apologize that I am slow to answer.
To answer your question:
I want to know if elements share the same parent element.
So I tried your idea with looking for a following-sbiling with identical name.
But I cannot get it figured out. If I write:
following-sibling::*[name()=name(.)]
I get all siblings of the current node not only...Leave a comment:
-
xsl Nodename occurs more than once on the same level
hello,
I am new to Bytes and I am not sure if this is the right plattform. but I found several posts regarding XSL. (If this is not the rigth forum, I apologize. Could you point me to another one then please.)
I have an xsl stylesheet which reads an xml input file and produces an xml output which shows the structure of the source xml file.
I want to include the following information in the output:
which...Last edited by jkmyoung; Mar 27 '09, 09:02 PM.
No activity results to display
Show More
Leave a comment: