Skip to Content
Special Edition Using XSLT
book

Special Edition Using XSLT

by Michael Floyd
January 2002
Intermediate to advanced
480 pages
11h 5m
English
Que
Content preview from Special Edition Using XSLT

XPath Data Model

In any computer language for manipulating data, the language defines a particular philosophy for thinking about what the data is. XPath considers data to be the nodes that represent XML documents, plus strings, numbers, and Booleans. The nodes are there to represent the XML document that the XPath expression is examining. Numbers and Booleans were added to make it possible to write complex expressions, such as selecting the fifth <line> within an <address> or the element satisfying the criterion of having both an address element and a name attribute. Likewise, strings are there to allow manipulation and comparison of the content of elements and attributes.

The Seven Node Types

As mentioned in Chapter 2, when a document is parsed, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Special Edition Using XML, Second Edition

Special Edition Using XML, Second Edition

- et al. David Gulbransen
XML for Publishers

XML for Publishers

Keith Fahlgren

Publisher Resources

ISBN: 0789725053Purchase book