[Home] [By Thread] [By Date] [Recent Entries]


> There is no XML declaration so you might conclude, "No, an XQuery document
> is  not an XML document."

The XML declaration is optional.

> <Equation> {if (1 < 2) then "TRUE" else "FALSE"} </Equation>

According to the note just before section 3.5.1
  When an XPath expression is written within an XML document, the XML
  escaping rules for special characters must be followed; thus "<" must be
  written as "&lt;".

-- 
Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html
XML Security Overview      http://www.datapower.com/xmldev/xmlsecurity.html


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member