W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > November 2010

Re: p:document-template - nested expressions

From: Norman Walsh <ndw@nwalsh.com>
Date: Sat, 13 Nov 2010 16:15:33 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m21v6pylfu.fsf@nwalsh.com>
"Henry S. Thompson" <ht@inf.ed.ac.uk> writes:

> What's the XQuery ruling on such constructs?

In XQuery { /{ $foo } } is an error. XQuery has direct element
constructors, however, so you can get nested braces:

  { ($x, <a>{ $x }</a>) }

But since we say XPath expressions, not XQuery statements, I
don't think that applies.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com

Received on Saturday, 13 November 2010 21:16:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 13 November 2010 21:16:10 GMT