XIncProc XPointer Processor >

XPointer Scheme

XIncProc XPointer processor support partial XPointer XPointer Scheme

The scheme data consists only of an xpath expression. It doesn't support yet additionnal xpath terms and concept defined in the xpointer scheme() recommandation (http://www.w3.org/TR/xptr-xpointer/#terminology)

Example

Given a simple xml :

            <catalog>
                <book id="book1">
                    <author id="auth1">Gambardella, Matthew</author>
                    <title>XML Developer's Guide</title>
                    <genre id="bk101">Computer</genre>
                    <price>44.95</price>
                    <publish_date>2000-10-01</publish_date>
                    <description>An in-depth look at creating applications
                        with XML.</description>
                </book>
            </catalog>
        

Expressions matching nodes:

Pointer content Result Error
xpointer(//.[@id='auth1']) <author id="auth1">Gambardella, Matthew</author>  
xpointer(//price/following-sibling::*) <publish_date>2000-10-01</publish_date><description>An in-depth look at creating applications with XML.</description>  

Further Details