In the XQuery 3.0 specification, section 3.9.1 describes direct element constructors. A sub-section inside that (3.9.1.3 Content) describes how to process the content of direct element constructors. This section is also linked from "3.9.3.1 Computed Element Constructors".

http://www.w3.org/TR/xquery-30/#id-content

The XQuery spec is not always straight forward to read, but I think it's clear in this case. However the XQuery spec is not meant to be a tutorial in XQuery - there are better places to learn XQuery.

John

On 08/01/14 16:39, Ihe Onwuka wrote:
and that referenced from section 2.4.2 where?

or was I supposed to have sussed that from seeing

  *

    Constructor expressions for various kinds of nodes

if I was....I guess it's my bad.


On Wed, Jan 8, 2014 at 4:29 PM, John Snelson <[email protected]
<mailto:[email protected]>> wrote:

    On 08/01/14 16:25, Ihe Onwuka wrote:


        On Wed, Jan 8, 2014 at 4:22 PM, David Carlisle <[email protected]
        <mailto:[email protected]>
        <mailto:[email protected] <mailto:[email protected]>>> wrote:

             On 08/01/2014 15:38, Ihe Onwuka wrote:

                 because it is going to end up (by whatever process) as
        an attribute
                 node.



             That seems to be the cause of your confusion (and your
        misreading of the
             spec and Mike Kay's book)


        Ok. What sections of Mike Kay's book


    Mike Kay's book doesn't cover XQuery.


        and the spec didn't I read that conveyed the information you
        just gave and what references to them did I
        miss.


    http://www.w3.org/TR/xquery-__30/#id-content
    <http://www.w3.org/TR/xquery-30/#id-content>


    John

    --
    John Snelson, Lead Engineer http://twitter.com/jpcs
    MarkLogic Corporation http://www.marklogic.com
    _________________________________________________
    [email protected] <mailto:[email protected]>
    http://x-query.com/mailman/__listinfo/talk
    <http://x-query.com/mailman/listinfo/talk>




--
John Snelson, Lead Engineer                    http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to