Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] Is an XQuery Document an XML Document?



> 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


 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords