See separate window.

[PRODUCTS xml] (separate window) and [STOCKLIST.xml] (separate window) are output in XML format from RDB (relational database) data.
Assume that you wish to use an XOuery processor to get [Output Result] (separate window) from this XML data.
Which of the following is an XOuery that cannot retrieve [Output Result]?


Answer : D
Select which of the following is not a correct description regarding static context defined by XQuery I 0.
Answer : B
Assume that [testmixsd] (referenced in a separate window) has been defined. Without rewriting this XML Schema Document ([testml-xsd]), create a new, separate XML Schema Document to partially change the schema definition replacing the phone element with a cellPhone element. As a result, the following [XML Document] will be valid against the new schema.

Which of the following correctly descnbes the new XML Schema Document?
Assume that the XMLDB or XML parser correctly processes the XML Schema schema Location attribute.
[XML Document]
Answer : B
A certain store engages in Internet commerce, managing customer information via XMLDB. Customers register as a user through a webpage, and are allowed to view their own information so they can edit their information themselves through a webpage interface. The store's Web application saves the customer information in an XMLDB, and retrieves data from the XMLDB as necessary. The XML data including customer information is as shown in [CUSTOMER.xml] referenced in a separate window.

The XMLDB account when the Web application connects to the XMLDB is WEBAPP.
A person at the store is in charge of processing payments (access to all registered customer information), and this person's XMLDB account is COUNTER.
A person at the store is in charge of product shipments (access to all registered customer information except for payment information ("payment element")), and this person's XMLDB account is SHIPPER.
Do not consider XMLDB accounts other than those noted above.
Each account authorization in the XMLDB is presently configured as follows: The WEBAPP account has permission to update and view [CUSTOMER xml]
Other accounts have permission to view [CUSTOMER.xml]
Which is the most appropriate method in this situation regarding XMLDB account authorizations'?
Assume that this XMLDB has a view creation function (function to show only certain XML data in response to a certain query)
Answer : D
Assume that for [XML Document] referenced in a separate window, you wish to create an XML Schema document that defines that the value of the level attribute of the record element must be unique within the XML document, and further that the level attribute of the scenario element must reference the value of the level attribute of the record element.
[XML Document]
Select which answer correctly belongs in (1) of the [XML Schema] document below.

Answer : D
Select the correct result of executing the following [XQuery] on [example xml] referenced in a separate window.

[XQuery]
for $record in fn:doc("example.xml")/example/record
return
}
Answer : D
Select the correct result of executing the [XOuery] on [example xml] referenced in a separate window.

Answer : A