|
Home > Online Product Documentation > Table of Contents > Finding an Element with a Particular Key Finding an Element with a Particular Key
The
The first argument specifies the name of the key. The value of this argument must be a qualified name. The second argument specifies the node or nodes to examine. When the second argument is a node set, the result is the union of the results of applying the
Example
For example, the
When you display information about a video in a Web browser, you want to display the names of the actors. Because the actors are referenced only by an ID number, you create a key table in your stylesheet:
This indexes all actors by their ID. To process a video, your stylesheet specifies the following:
This instructs the XPath processor to look up the
|
XQuery Integration
Learn how new XQuery technologies can simplify legacy data integration by leveraging industry standards, proven open-source XML processing components, and Stylus Studio's integrated XQuery & XML tools.
Using DTD in Microsoft Applications
Learn how to integrate DTD's into your Microsoft applications using MSXML or System.XML DTD processing components.
XML Schema Validator, DTD Validator
Stylus Studio lets you validate XML documents using integrated XML Schema or DTD validators. Use the Stylus Studio built-in validator, or any number of supported XML parsers and XML validators like MSXML SAX and DOM, Xerces, .NET, and more!
Apache AXIS
Develop and test Web service applications using Apache AXIS and Stylus Studio.