problem with x-path expression
My problem is that I have to write a xslt that will be applied to the xml document
Here is a simple xml input file:--
In this file < transaction > node may be in multiple numbers (1 to many)..
Here <owner> can have value any one of them..
P S or O..
only condition is that there can be only one <owner> that have value as P
Here is my Output xml file (Output.xml)
</ response >
Now the logic for the value XX is
the value of XX comes from the <name1> <name2> in that particular transaction node where owner is P
so what will be my x-path expression
thanks in advance ..