Easy XPath question for iPhone

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-04-30T22:36:04Z Indexed on 2010/04/30 22:37 UTC
Read the original article Hit count: 376

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c