W3C home > Mailing lists > Public > www-xml-query-comments@w3.org > March 2001

XML Query Use Case SGML, query 6, 9

From: Michael Dyck <MichaelDyck@home.com>
Date: Sat, 10 Mar 2001 14:20:56 -0800
Message-ID: <3AAAA8C7.C72217D5@home.com>
To: www-xml-query-comments@w3.org
XML Query Use Cases
W3C Working Draft 15 February 2001

Use Case SGML

1.5.4.6, Query 6

The informal query says "expressing each short title as the value of a new
element", but the Solution in XQuery expresses each as the value of an
*attribute* of a new element. I think the RETURN clause should be
    RETURN <stitle> $s/text() </stitle>

1.5.4.10 Query 9

Is there any reason why the Solution in XQuery uses
    document("input.xml")
where none of the other queries do?

-Michael Dyck
Received on Saturday, 10 March 2001 17:24:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:12 UTC