I have an XML document with the following structure:
<?xml version="1.0" encoding="utf-8"?>
<ooh>
<occupation>
<title type="text">Accountants and Auditors</title>
</occupation>
<occupation>
<title type="text">Another Title</title>
</occupation>
</ooh>
What do I enter in the QueryPath XML Parser to set the context to be Occupation and add the title as a new source? I tried //ooh//occupation but I keep getting this error: CSS selector is not well formed.
//ooh/occupation/title/text()