[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The use of XML syntax in XML Query


xml syntax reference
Michael Kay wrote:

> 
> 
> Is there a possibility of a solution in which the XML-like syntax becomes
> pure XML, and is regarded as a preprocessor syntax, so that a query written
> as a well-formed XML document (using element constructors for elements,
> processing instructions for PIs, and comments for comments) can then be
> translated mechanically into an XQuery expressed as a Unicode string, which
> itself uses no XML-like constructs?
> 

An element constructor syntax can be XML compatible in two senses - (1) 
it *is* XML, and can be both read and processed as such (this being the 
after all what XML is all about) or (2) it is not XML, but doesn't 
interfere with XML and can be normally be embedded in XML without 
breaking the XML or resorting to legibility-reducing escaped syntax.

It seems to me that the "pseudo-XML" passes neither test, and Mike's 
proposal passes both.

Francis.



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.