Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
If I want to get a specific Element within my XML document I use XQuery and JDOM Object:queryString = "for $b in input()/path & condition "queryString += “return $b”;For this queryString I get an Element.But how do I get the Parent of this Element.Is there anything like this :queryString += “return $b.getParent()”;thanksAykut
Hi Aykut,use the parent axis abbreviated …i.e. return $b/…Regards,Juliane.
If not you can also use thereturn parent::$bI hope this help
I have decided myself for“return $b/…”Thank you !!!Aykut