Forum OpenACS Q&A: Re: xml and xpath

Error in include template "/var/www/openacs/packages/openacs-bootstrap3-theme/resources/templates/packages/forums/lib/search/search-form": can't read "form:id": no such variable
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 (/).