|
Home > Online Product Documentation > Table of Contents > Starting at the Root Node Starting at the Root Node
To specify that the XPath processor should start at the root node when it evaluates nodes for a query, insert a forward slash (
In an XML document, there is no text that corresponds to the root node. Externally, a root node is really a concept. Internally, there are data structures that represent this concept, but there is no text that you can point to and call a root node. The following query instructs the XPath processor to start at the root node, as indicated by the forward slash at the beginning of the query.
This query searches the children of the root node for a
The following query returns the entire document, starting with the root node. As you can see, the entire query is just a forward slash:
This query returns everything - comments, declarations, processing instructions, the document element, and any elements, attributes, comments, and processing instructions that the document element contains. |
XPath Editor
Stylus Studio's intelligent code-sensing, auto-completion technology, Sense:X, is XPath-aware. You'll find Sense:X for XPath in all of Stylus Studio's editors, including the XML Editor, XSLT Editor, and XQuery Editor.
XML Schema Documentation Generator
Stylus Studio's XML Schema Editor includes an integrated XML Schema documentation generator, allowing you to easily publish XML content models defined in XML Schema in a convenient, HTML format. A screenshon of the XML Schema Editor is shown here.
Telecommunications Companies That Use Stylus Studio
Can you here me now? When it comes to telecommunications and XML it can get a little fuzzy. That's why these top telecommunication companies turn to Stylus Studio to connect them to their XML needs.
Web Service Testing Tools
The Stylus Studio Web Service Tester allows you to easily locate, build references to, and test Web services for XML applications based on WSDL, SOAP, and UDDI standard Web service technologies.