Changes

Jump to navigation Jump to search
39 bytes removed ,  02:26, 13 March 2012
==EQName: Expanded QNames==
{{Mark|Updated with Version 7.2:}} A ''QName'' can now be directly prefixed with its the letter "Q" and a namespace URI, which will be enclosed in quotes and followed by a colonthe [http://www.jclark.com/xml/xmlns.htm Clark Notation].
'''Examples:'''
* <code><nowiki>"Q{http://www.w3.org/2005/xpath-functions/math":}pi()</nowiki></code> returns the number π* <code>"Q{java:java.io.FileOutputStream":}new("output.txt")</code> creates a new Java file output stream
Note that the current syntax may soon be replaced by the so-called [http://www.jclark.com/xml/xmlns.htm Clark Notation] and the letter Before {{MonoMark|QVersion 7.2}} as prefix, and in older versions of the XQuery 3.0 specification, the prefixed namespace URI was quoted:
* <code><nowiki>Q{"http://www.w3.org/2005/xpath-functions/math"}:pi()</nowiki></code> returns the number π* <code>Q{"java:java.io.FileOutputStream"}:new("output")</code> creates a new Java file output stream
==Namespace Constructors==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu