XML Master Basic V2 - I10-001 Exam Practice Test
Select the answer that correctly describes a namespace to which the Name element in the XML document below belongs.
<data xmlns="urn:sample1">
<ContactInformation>
<Name master:type="Man" xmlns="" xmlns:master="urn:sample2">Taro_Yamada</Name> <eMail>Yamada@abc. co. jp</eMail>
<Tel>03-xxxx-xxx1</Tel>
</ContactInformation>
</data>
<data xmlns="urn:sample1">
<ContactInformation>
<Name master:type="Man" xmlns="" xmlns:master="urn:sample2">Taro_Yamada</Name> <eMail>Yamada@abc. co. jp</eMail>
<Tel>03-xxxx-xxx1</Tel>
</ContactInformation>
</data>
Correct Answer: A
Vote an answer
Select which of the following correctly describes elements/attributes that do not belong to namespace "urn:sample:exam" in the XML document below.
[XML Documents]
<ns1:element1 attributes1="Value" xmlns:ns1="urn:sample:exam">
<element2 attributes2="Value" xmlns="urn:sample:exam">
<element3>Content</element3>
</element2>
</ns1:element1>
[XML Documents]
<ns1:element1 attributes1="Value" xmlns:ns1="urn:sample:exam">
<element2 attributes2="Value" xmlns="urn:sample:exam">
<element3>Content</element3>
</element2>
</ns1:element1>
Correct Answer: C
Vote an answer
Select which of the following correctly describes a valid XML document with respect to the DTD below.
<!DOCTYPE list [
<!ELEMENT list (product+)>
<!ELEMENT product (name?)>
<!ATTLIST product_division (healthcare|cosmetic) "cosmetic">
<!ELEMENT name (#PCDATA)>
]>
<!DOCTYPE list [
<!ELEMENT list (product+)>
<!ELEMENT product (name?)>
<!ATTLIST product_division (healthcare|cosmetic) "cosmetic">
<!ELEMENT name (#PCDATA)>
]>
Correct Answer: C
Vote an answer
Select which of the following correctly describes a namespace to which the "price" element in the XML document below belongs.
<message xmlns="urn:sample:order"
xmlns:product="urn:sample:product">
<product:list xmlns="urn:sample:list">
<name>XML study guide</name>
<price>536</price> <
/product:list>
<order>
<customerID>J058974</customerID>
<number>1</number>
</order>
</message>
<message xmlns="urn:sample:order"
xmlns:product="urn:sample:product">
<product:list xmlns="urn:sample:list">
<name>XML study guide</name>
<price>536</price> <
/product:list>
<order>
<customerID>J058974</customerID>
<number>1</number>
</order>
</message>
Correct Answer: D
Vote an answer
Select which of the following correctly describes the XML namespace to which the -->(1) "product" element in the "XML Document" below belongs.
[XML Documents]
<?xml version="1. 0"?>
<products xmlns:A="urn:sample:A"
xmlns:B="urn:sample:B">
<A:product>
<B:product>
<product/> -->(1)
</B:product>
</A:product>
</products>
[XML Documents]
<?xml version="1. 0"?>
<products xmlns:A="urn:sample:A"
xmlns:B="urn:sample:B">
<A:product>
<B:product>
<product/> -->(1)
</B:product>
</A:product>
</products>
Correct Answer: B
Vote an answer
Press the Exhibit button to view "XML Document". For the elements within "XML Document", select which of the following correctly describes the coding for (1) in which the "Order_Number" element belongs to namespace urn:sample:Order, and there are no errors with respect to XML namespace specifications.
Correct Answer: C
Vote an answer
Press the Exhibit button to view "XML Document". Select which of the following correctly describes the elements and attributes belonging to namespace http://www. medxml. net/MML/SharedComponent/CreatorInfo/1. 0 in "XML Document".
Correct Answer: D
Vote an answer
Select which of the following is coded using XML syntax:
Correct Answer: A,B,C
Vote an answer
Select which statement correctly describes the XML document below.
<!DOCTYPE element1 [
<!ELEMENT element1 (#PCDATA)>
]>
<element1><![CDATA[<element2/><![CDATA[<element3/>]]></element1>
<!DOCTYPE element1 [
<!ELEMENT element1 (#PCDATA)>
]>
<element1><![CDATA[<element2/><![CDATA[<element3/>]]></element1>
Correct Answer: B
Vote an answer