Forum OpenACS Q&A: Re: xml and xpath

Collapse
2: Re: xml and xpath (response to 1)
Posted by Guan Yang on
XML is a document format. XML documents have lots of angle brackets and can be very long. An XML document forms a tree of so-called "elements".

XPath is a language for matching specific elements (or nodes, which are a more general concept that includes attributes, text, etc.) An XPath statement is usually in a single line and contains lots of forward slashes (/).