Re: p:document-template - nested expressions

"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 UTC