Easy XPath question for iPhone
- by Sam
Hey guys! This is driving me NUTS!
Here's my XML document
<?xml version="1.0" encoding="UTF-8"?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
<rootfile full-path="content.opf" media-type="application/oebps-package+xml"/>
</rootfiles>
</container>
All I want to do is get the root file element. I'm using TouchXML on the iPhone and here is my xPath query:
/container/rootfiles/rootfile
It doesn't work! I've tried everything.
Any help would be appreciated...
Sam