XML information pipe

Ihre Spezialisten für XML

Banner Werbung

Inroduction to our technologies
XML >>>
HTML >>>
CSS >>>
Unicode >>>
SVG >>>
MathML >>>
XSLT >>>
XPath >>>
Schemas >>>
RegEx >>>
Python >>>
SKOS >>>
Dublin Core >>>

W3C Recommendation     XML Technology
XML >>>
HTML >>>
CSS >>>
Unicode >>>
SVG >>>
MathML >>>
XSLT >>>
XPath 1.0 standard >>>
Schemas >>>
RegEx >>>
Python >>>
SKOS >>>
Dublin Core >>>

You are on XING ?
We too. Become a member in our group and discuss exciting topics with us!
XING

Software
XSL Formatter >>>
antillesXML >>>

About team Heidelberg
Contact
data2type team data2type
References
Imprint


About team Karlsruhe
Contact
parsQube team parsQube
Imprint

XPath as filesystem addressing

The basic XPath syntax is similar to filesystem addressing.


If the path starts with the slash / , then it represents an absolute path to the required element.


/AAA

Select the root element AAA


<AAA>

    <BBB/>

    <CCC/>

    <BBB/>

    <BBB/>

    <DDD>

        <BBB/>

    </DDD>

    <CCC/>

</AAA>



/AAA/CCC

Select all elements CCC which are children of the root element AAA


<AAA>

    <BBB/>

    <CCC/>

    <BBB/>

    <BBB/>

    <DDD>

        <BBB/>

    </DDD>

    <CCC/>

</AAA>



/AAA/DDD/BBB

Select all elements BBB which are children of DDD which are children of the root element AAA


<AAA>

    <BBB/>

    <CCC/>

    <BBB/>

    <BBB/>

    <DDD>

        <BBB/>

    </DDD>

    <CCC/>

</AAA>