|
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
|
How to Build PDF Forms using Stylus Studio
Learn how to build PDF Forms using Stylus Studio and the RenderX XEP FO processor
Using Stylus Studio with RenderX XEP
RenderX XEP is a production-quality engine that converts XSL:FO into PDF or PostScript files. You can use RenderX XEP in place of the Apache FOP engine to render PDF files from Stylus Studio.
EXSLT Tools
EXSLT support in Stylus Studio lets you extend XSLT 1.0 stylesheets and simplify many tasks including computing dates and times, performing mathematical computations, string manipulations and more.
An Introduction to XQuery Development
An Introduction to XQuery demonstrates how easy it is to use Stylus Studio's many tools for editing, testing and deploying XQuery applications. Learn how to write your first XQuery application in just minutes by watching this online tutorial.


