XSLT/XPath - (Data|Document) Model

Card Puncher Data Processing


Like the Document Object Model (DOM), the XSLT/XPath data model 1) consists of a tree containing a variety of nodes.

The XPath specification defines an abstract document model that defines seven kinds of nodes 2):

In this abstract model, syntactic distinctions disappear, and you are left with a normalized view of the data.

The text node will consist of normalized data, as it exists after all parsing is complete. So the text will contain a < character, whether or not an entity reference such as < or a CDATA section was used to include it. (Similarly, the text will contain an & character, whether it was delivered using & or it was in a CDATA section).

Each element has an associated string-value, which is formed by concatenating all the text segments that lie under the element.

Discover More
Card Puncher Data Processing
XSLT - Templates

an some other tag, or whitespace. HTML outputs the HTML start tags, processes any templates that apply to children of the root, and then outputs the HTML end tags.
Card Puncher Data Processing
Xml - Xpath

XPath is a pattern expression used to select a set of XML nodes. You can select: from node name from attributes from text In the XPath specification, the document model defines seven kinds of...

Share this page:
Follow us:
Task Runner