OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XEXPR

I'm not very knowledgable of XQueryX, but form I interpret from glancing at the spec.... I would never use this.... Xqib I could see of bring of more use than XQueryX.

I was more so referring to the concept of the syntax to be of add on... As a group of syntax that can be use in xslt and xQuery programing(with or with the angle bracket for a more concise typing choice). It doesn't even have to be adopted into to xslt or xQuery spec; just a reference link to this spec(after revising and editing the current spec of XEXPR).



<xel:while test="xPath expression[condition]">
        <xsl:value-of select="xPath expression" />

<!-- Not the same as a choose-when-otherwise instruction. This will loop. Yes we have the for-each instruction, but this is more of a set deal-->


for $x in (xPath expression)

xel:while (xPath expression[condition])

xel:do (<h1>{expression}</h1>)

(: it's rough, but in hope in just conveying my vision to you :) 

----end of example----

I do not aim to offend xQueryx with my early remark toward it.   

Thank you for taking the time to read and reply.


> On Jul 28, 2014, at 4:58 PM, "Michael Kay" <mike@saxonica.com> wrote:
> XQueryX

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS