|
Home > Online Product Documentation > Table of Contents > Obtaining Namespace Information Obtaining Namespace InformationYou can call functions to obtain namespace information. This topic discusses In addition to a discussion of the functions you call, this section covers the following: Obtaining the Namespace URI
To obtain the URI for a namespace, call the
The
Call the
returns the string
For any other type of node, the XPath processor always returns an empty string. Obtaining the Local Name
To obtain the local portion of a node name, excluding the prefix, call the
The
Obtaining the Expanded Name
To obtain the expanded name of a node, call the
The
Typically, this is the name in the XML source. This need not be the case if there are namespace declarations in effect on the node that associate multiple prefixes with the same namespace. If the node-set argument is empty or the first node has no expanded name, the XPath processor returns an empty string. If you omit the argument, it defaults to a node set with the context node as its only member.
Except for element and attribute nodes, the string that the
Specifying Wildcards with Namespaces
Element and attribute names that include colons (
Examples of Namespaces in Queries
The following example finds all
The next query finds all
The following query finds all
The following query finds all
The next example returns the
|
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.
XQuery Documentation Generator
Stylus Studio provides integrated support for xqDoc so you can generate XQuery documentation directly from the XQuery editor.
Apache FOP
Apache FOP is an open-source engine is available from the Apache project that renders XSL-FO into PDF and other popular document formats. Apache FOP is fully integrated with Stylus Studio's XSL:FO tools.
XML Operations
Using XML Pipeline it's easy to visually specify a series of XML operations to apply on your XML data, including parsing, validating, converting and transforming, according to the needs of your business application.