resolve-QName


The resolve-QName() function returns a value of type xs:QName (that is, an expanded QName consisting of a namespace URI and a local name ), taking as input a lexical QName (a string in the form «prefix:local-name » or simply «local-name » ), by resolving the prefix used in the lexical QName against the in-scope namespaces of a given element node.

Argument

Data Type

Meaning

lexical-qname

xs:string

The lexical QName whose prefix is to be resolved. It must conform to the syntax of a QName as defined in the XML Namespaces specification (which is the same as the lexical space for an xs:QName defined in XML Schema)

element

element()

An element node whose in-scope namespaces are to be used to resolve the namespace prefix used in the lexical QName

Result

xs:QName

The expanded xs:QName , containing the namespace URI corresponding to the prefix supplied in the lexical QName




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net