how do I execute this xquery
for $elem in /root/element()
return
$elem
on an xml file using java without using fn:doc?
i keep getting XPDY0002: The context item for axis step child::element(xml, xs:anyType) is undefined
--the rundown: I need a simple solution to load an xml file, load an xquery and process