|
Home > Online Product Documentation > Table of Contents > Syntax for Specifying an Axis in a Query Syntax for Specifying an Axis in a QueryThe previous sections provide examples of XPath expression syntax that uses abbreviations. This section introduces you to the axis syntax that many of the abbreviations represent. For a list of XPath abbreviations, see XPath Abbreviations Quick Reference. You can use axis syntax to specify a location path in a query. An axis specifies the tree relationship between the nodes selected by an expression and the context node. The syntax for specifying an axis in a query is as follows:
The axis names are defined in Supported Axes. A node test is a simple expression that tests for a specified node type or node name. For example:
XPath 2.0 adds additional tests, such as In addition, you can follow the node test with any number of filters. |
Industry DTD Standards Support (OASIS)
Stylus Studio provides integrated support OASIS catalogs, including thousands of industry-standard DTDs like DocBook, FIXML, and more!
Stylus Studio's Advanced XQuery Mapper Features
Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!
Accessing Relational Databases as XML with Stylus Studio's File Explorer
This demonstration is the first part of our series on working with relational and XML data, covering how to use Stylus Studio's File Explorer to connect to and query relational database tables as XML.
EDI to XML Mapping
A tutorial on how to transform EDI files into XML using Stylus Studio's Convert to XML tool. Subsequent post-processing of the converted EDI data is done through XQuery or XSLT, modeling a real world XML data integration application.