|
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 |
XQuery Mapper
Stylus Studio has the industry's only XQuery mapper, enabling you to develop sophisticated XML mappings consisting of queries and data transformation in an intuitive, visual manner.
XML Programming
Simplify XML Programming with Stylus Studio's XML Pipeline, a powerful tool for modeling, programming, debugging and deploying complete XML programs.
Advertise with Stylus Studio
Need to get your products and/or services in front of millions of qualified enterprise XML developers? Partner with Stylus Studio, the world's largest XML developer community!
Using DataDirect XQuery with Stylus Studio
Learn how to query any relational database using XQuery and the XQuery API for Java using DataDirect XQuery, an embeddable Java component, and Stylus Studio the world's leading XML IDE.