XPath validation errors?
Posted: Mon Jul 21, 2014 3:28 pm
Hi.
I need to process some Word Documents that have been saved as Word XML. An example can be found here https://dl.dropboxusercontent.com/u/357143/Test.xml
For some reason, when I open this file in Oxygen, I can't even begin to run XPath queries on it. All XPath queries give me an error that says:
I assume I am doing something wrong. The root element of the document is <pkg:package> but //package (or even //pkg:package) doesn't work. (As far as I know Oxygen doesn't care about prefixes in XPath queries.
I'd be vary grateful for any tips how I should proceed.
All best,
Toma
I need to process some Word Documents that have been saved as Word XML. An example can be found here https://dl.dropboxusercontent.com/u/357143/Test.xml
For some reason, when I open this file in Oxygen, I can't even begin to run XPath queries on it. All XPath queries give me an error that says:
Code: Select all
XPath failed due to: One or molre validation errors were reported
I'd be vary grateful for any tips how I should proceed.
All best,
Toma