|
Home > Online Product Documentation > Table of Contents > Obtaining a Portion of an XML Document Obtaining a Portion of an XML DocumentUsually, you use a query to obtain a portion of an XML document. To obtain the particular elements that you want, you must understand how to obtain an element that is a child of the document element. With this information, you can obtain any elements in the document.
The following figure shows how the XPath processor interprets the
When the XPath processor starts its search at the root node, there is only one element among the immediate children of the root node. This is the document element. In this example,
The query in this figure returns the
Now you can define queries that obtain any elements you want. For example:
This query returns
|
Convert EDIFACT to XML Schema
Convert EDIFACT to XML with Stylus Studio's XML Schema and legacy data integration tools.
SQL Server Tools
Integrated SQL Server Tools in Stylus Studio enable you to access relational data stored in SQL Server 2000 or SQL Server 2005 as XML using XQuery, SQL/XML or ADO - learn how to export relational data as XML today!
XSL-List
The XSL-List forum is a valuable learning resource for the Extensible Stylesheet Language (XSL), covering the XSL specification, XSL processor implementations, and XSL user questions. Get this free XSL resource delivered to your inbox today.


