XML Query Use Case SGML, query 6, 9

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