Skip to Content
Real World XML
book

Real World XML

by Steven Holzner
January 2003
Beginner to intermediate content levelBeginner to intermediate
1200 pages
23h 42m
English
Peachpit Press
Content preview from Real World XML

Specifying Patterns for the select Attribute

I've taken a look at the kinds of expressions you can use with the <xsl: template> element's match attribute. You can use an even more involved syntax with the select attribute of the <xsl:apply-templates>, <xsl:value-of>, <xsl:for-each>, <xsl:copy-of>, and <xsl:sort> elements.

The select attribute uses XPath expressions, and XPath is a W3C recommendation as of November 16, 1999. You can find the XPath recommendation (the current version is 1.0) at www.w3.org/TR/xpath.

XPath 2.0 Working Draft

As with XSLT, version 2.0 of XPath is in the works, but it's only a working draft at this point, with frequent changes. No software supports it yet, except for some support in the Saxon XSLT processor (http://saxon.sourceforge.net/ ...

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

Inside XML

Inside XML

Steven Holzner
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0735712867Purchase book