|
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
|
Export HTML to XML
Export HTML to XML with the click of a button - simplify migration of legacy HTML code to industry standard XML technologies with Stylus Studio.
XQuery and Web Services
XQuery provides a flexible means for data abstraction, while Web services provide process abstraction. In this online video demonstration, learn how integrated XQuery & Web service tools simplify development of XQuery-based Web service applications.
Using XSLT Templates
Using XSLT Templates is an online video demonstration of the Stylus Studio XSLT designer. See just how easy it is to create, apply and match XSLT templates to your XML data to create beautiful HTML layouts for XML content publishing applications.
Convert DTD to XSD
learn how to convert DTD to XML Schema