Hi, I am using xpath in jaxb bindings file and its nightmare...some one kindly help me out..
my xsd has following structure
I can access any child parameter by placing its binding tag in parent binding using .//xs:element , but it works only if the given element is present only once, else I get error results in too many (2) target nodes
example works only is file is single node in parent but not if there is one more file indirectly under n levels of current node.
I assume this is because .// means access any node after current node so I tried ./ but it returns empty node...
All desirable things in life are either illegal, banned, expensive or married to someone else !!!