Click to return to the XML (Extensible Markup Language) home page    
Getting Started with XSL     Advanced XSL Features     XSL Developer's Guide    
Web Workshop  |  XML (Extensible Markup Language)

XSL Patterns


XSL Patterns provide a simple query language for identifying nodes in an XML document, based on their type, name, and values, as well as the relationship of the node to other nodes in the document. For instance, the query "find 'author' elements that have a 'period' attribute with the value 'classical', and that are contained in the 'authors' element at the document root" can be expressed as an XSL Pattern of the form "/authors/author[@period='classical']".

These simple queries are a core part of XSL transformations, which associate the query results with templates to create a new XML document. Queries using the XSL Pattern syntax can also be performed directly against the Microsoft® Internet Explorer 5 XML Document Object Model (DOM).

Internet Explorer 5 implements XSL Patterns as described in Section 2.6 of the Extensible Stylesheet Language (December 18th Working Draft), found at http://www.w3.org/TR/1998/WD-xsl-19981216.html Non-MS link, with the following exceptions:

The Internet Explorer 5 XSL release also contains a number of extensions to enhance the capabilities of XSL. See extensions to the XSL Pattern Language (2.6) as described in the XQL Proposal at http://www.w3.org/TandS/QL/QL98/pp/xql.html Non-MS link.

Relevant topics:

Further information can be found in the related topics:



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.