I have one XML Document. It has many Elements.
Some of them have an attribute, which has the type of XS:ID, so it’s unique pro document.
I would like the have the XQuery to get the
Element, which has the attribute value ‘X’
The value for ‘X’ is given.
eN = ElementName is not given
aN = AttributeName is not given
queryString = “for $b in input()/labDevices//eN[aN='”+X+"'] ";
queryString += “return $b”;
What is the correct syntax to get the element,
which has the attribute (ID) value for ‘X’ ?
Thank you!
Aykut
#API-Management#Tamino#webMethods