[XQueryX] doc vs. document; error in XQueryX examples

The example of XQueryX in section 3.1.2 uses the old document() function 
instead of the newer doc() function. That is,

                      <xqx:functionName>document</xqx:functionName>

should be

                      <xqx:functionName>doc</xqx:functionName>


3.2.2 and 3.3.2 also make this mistake. The solutions in XQuery syntax 
appear use the name "doc". (unless there's some weird reason the 
function name changes between XQuery and XQueryX, but I doubt that.)

--
Elliotte Rusty Harold

Received on Sunday, 18 January 2004 11:25:22 UTC