Question 41

Select which of the following is a correct XML declaration.
  • Question 42

    Assume that you want to change XML document A into XML document B, as shown below. Choose the specification that is the best suited for this purpose.
    [XML document A]
    <?xml version="1. 0"?>
    <book>
    <author>Charley</author>
    <title>FLOWERS</title>
    </book>
    [XML document B]
    <?xml version="1. 0"?>
    <book> <title author="Charley">FLOWERS</title>
    </book>
  • Question 43

    Select which statement is correct with respect to the XML document and external entity below. Assume that an XML processor can read "ex. txt".
    [ex. txt]
    <?xml encoding="Shift_JIS" version="1. 0"?>
    <name/>
    [XML Documents]
    <?xml version="1. 0" encoding="UTF-8"?>
    <!DOCTYPE List [
    <!ELEMENT List (#PCDATA|name)*>
    <!ENTITY name SYSTEM "ex. txt">
    ]>
    <List>&name;</List>
  • Question 44

    Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml", and output "10075" as the transformation result. Select which of the following correctly belongs in (1) of the "b. xsl".
  • Question 45

    Select which XML documents are valid with respect to the following DTD.
    <?xml version="1. 0"?>
    <!DOCTYPE contact [
    <!ELEMENT contact (TEL*|FAX*)>
    <!ELEMENT TEL (#PCDATA)>
    <!ELEMENT FAX (#PCDATA)>
    ]>