I'm using the XQuery API, and I need help writing the query for the XQSequence object.
My XML document has a root element named 'SensorML', which has a single child element named 'member', which has a single child element named 'System'.
My query for the XQSequence object looks like this:
"declare namespace gml = 'declare namespace swe = 'doc('file:///C://DRT1201BSensorMLDoc.xml')//SensorML/member/System"
I want to loop through all of the child elements of the "System" element, but I'm not seeing any output from my code indicating that this is happening. Any ideas as to what I need to change/correct?
My XML document has a root element named 'SensorML', which has a single child element named 'member', which has a single child element named 'System'.
My query for the XQSequence object looks like this:
"declare namespace gml = 'declare namespace swe = 'doc('file:///C://DRT1201BSensorMLDoc.xml')//SensorML/member/System"
I want to loop through all of the child elements of the "System" element, but I'm not seeing any output from my code indicating that this is happening. Any ideas as to what I need to change/correct?