Re: [xml-dev] The use of XML syntax in XML Query

At 01:38 PM 03/01/02 +0000, Henry S. Thompson wrote:
><myQR>
>&lt;bib>
>            {
>             for $b in document("http://www.bn.com")/bib/book
>             where $b/publisher = "Addison-Wesley" and $b/@year > 1991
>             return
>               &lt;livre ann&#xe9;e={ $b/@year }>
>                &lt;cr&#xe9;ateur> { $b/author } &lt;/cr&#xe9;ateur>
>                { $b/title }
>               &lt;/livre>

Jeepers Henry, that's horrible!  Blecccch. This seems to involve
all the costs & pain of XML (awkward escaping syntax, verbosity)
with none of the benefits (readability, simplicity).  Can this 
turkey be made to fly?

Or are we all missing something obvious? -Tim

Received on Thursday, 3 January 2002 13:17:18 UTC