Summer Sale- Special Discount Limited Time 65% Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

XML I10-001 XML Master Basic V2 Exam Practice Test

Note! Following I10-001 Exam is Retired now. Please select the alternative replacement for your Exam Certification.
Page: 1 / 13
Total 129 questions

XML Master Basic V2 Questions and Answers

Question 1

Select which of the following correctly describes a namespace to which the "price" element in the XML document below belongs.

xmlns:product="urn:sample:product">

XML study guide

536 <

/product:list>

J058974

1

Options:

A.

urn:sample:order

B.

urn:sample:product

C.

urn:sample:list

D.

Does not belong to any namespace. W Courier Newlr Z

Question 2

Select which of the following are not well-formed XML documents.

Options:

A.

B.

Pencil

C.

Pencil

D.

Pencil W Courier Newlr Z

Question 3

Press the Exhibit button to view "XML Schema". Select which of the following correctly describes the structure defined by "XML Schema".

Options:

A.

The "Company_Name" element can be designated as a child element of the "Business_Card" element.

B.

An unlimited number of child elements can be designated for "Business_Card".

C.

The "Company_Name" element and "Department_Name" element must be written in a one-to-one correspondence.

D.

The "Company_Name" element and "Telephone_Number" element must be written in a one-to-one correspondence. W Courier Newlr Z

Question 4

With respect to the XML 1. 0 recommended specifications, select which of the following is a way to code the symbol "<" without being interpreted as a "tag opening".

Options:

A.

Place the symbol in a text string contained between <!-- and -->.

B.

Place the symbol in a text string within a CDATA section.

C.

Place the symbol in a text string within an attribute value.

D.

Place the symbol in a text string within external entity document references from within the XML. W Courier Newlr Z

Question 5

Select which statement is correct with respect to the XML document below.

[XML Documents]

<!DOCTYPE E1 [

<!ELEMENT E1 (#PCDATA)>

<!ATTLIST E1 A1 CDATA '#IMPLIED'>

]>

<E1/>

Options:

A.

An empty element tag cannot be used since the E1 element content is not empty.

B.

This XML document is incorrect, since document type declarations cannot come at the top of the document.

C.

A warning will be issued with respect to an attribute list declaration since #IMPLIED is surrounded by single quotes.

D.

This is a valid XML document. W Courier Newlr Z

Question 6

Select which statement correctly describes the XML document below.

<!DOCTYPE element1 [

<!ELEMENT element1 (#PCDATA)>

]>

<element1><![CDATA[<element2/><![CDATA[<element3/>]]></element1>

Options:

A.

This is not a valid XML document, because there is no element type declaration for element2 and element3.

B.

This is not a well-formed document, because the CDATA section is not closed.

C.

This is not a well-formed document, because the CDATA section does not contain <![CDATA[.

D.

This is a valid XML document. W Courier Newlr Z

Question 7

Select which of the following is not a well-formed XML document.

Options:

A.

<?xml version="1. 0"?>

<root><![CDATA[4<1]]></root>

B.

<?xml version="1. 0"?>

<root>4+1</root>

C.

<?xml version="1. 0"?>

<root>4>1</root>

D.

<?xml version="1. 0"?>

<root>4<1</root>W Courier Newlr Z

Question 8

Select which statement correctly describes the XML document below.

[XML Documents]

<!DOCTYPE root [

<!ELEMENT root (E1,E2)+>

<!ELEMENT E1 (#PCDATA)>

<!ATTLIST E1 A1 ID #IMPLIED>

<!ELEMENT E2 (#PCDATA)>

<!ATTLIST E2 A2 IDREF #REQUIRED>

]>

<root>

<E1>data</E1>

<E2 A2="ID1">ref-data</E2>

</root>

Options:

A.

This is not a well-formed XML document, because the A1 attribute is not set in the E1 element.

B.

This is not a valid XML document, because the A1 attribute is not set in the E1 element.

C.

This is not a valid XML document, because the A2 attribute does not reference the ID type value.

D.

The DTD code is incorrect, because the ID type attribute must be set to #REQUIRED. W Courier Newlr Z

Question 9

Press the Exhibit button to view "XML Schema Document". Select which of the following correctly describes a valid XML document with respect to "XML Schema Document".

Options:

A.

Taro Yamada

yamada@abc. co. jp

03-xxxx-xxxx

03-xxxx-xxxx

B.

Taro Yamada

yamada@abc. co. jp

03-xxxx-xxxx

C.

Taro Yamada

yamada@abc. co. jp

03-xxxx-xxxx

D.

Taro Yamada

yamada@abc. co. jp

W Courier Newlr Z

Question 10

Select which of the following is correct with respect to XSLT.

Options:

A.

XSL-FO must be used when using an XSLT stylesheet to display an XML document.

B.

Only a single XSLT stylesheet may be applied to a single XML document.

C.

An XSLT stylesheet can be used to acquire the values of specific elements within an XML document.

D.

The XSLT Version 1. 0 recommendation defines special instructions to create a corresponding DTD from the original XML document. W Courier Newlr Z

Question 11

Select which of the following correctly describes the XML namespace to which the -->(1) "price" element in the "XML Document" below belongs.

[XML Documents]

<?xml version="1. 0"?>

<products xmlns="urn:sample:product">

<item:product xmlns:item="urn:sample:item">

T-Shirt

<price>2500</price> -->(1) </item:product>

</products>

Options:

A.

urn:sample:product

B.

urn:sample:item

C.

item

D.

None W Courier Newlr Z

Question 12

Select which of the following statements is correct.

Options:

A.

Under XML 1. 0 recommendations, there are no clear rules as to whether to use a child element or an attribute when attaching information to an element.

B.

An XML document must never be structured without any element content, and with only empty elements and attributes.

C.

Use attributes when including specific, clear numerical value information in an XML document.

D.

Attribute values cannot include line feeds or white spaces. W Courier Newlr Z

Question 13

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.

Options:

A.

xmlns:Order="urn:sample:Order"

xmlns:Product="urn:sample:Product"

B.

xmlns:Product="urn:sample:Product"

C.

xmlns="urn:sample:Order"

xmlns:Product="urn:sample:Product"

D.

xmlns:Order="urn:sample:Order"

xmlns:Product="urn:sample:Product"

xmlns="urn:sample:Order"W Courier Newlr Z

Question 14

The content of the Product Quantity element is an integer restricted to a value of between 1 and 100. Select which of the following is correct when the prefix to specify XML Schema namespace is xs.

Options:

A.

B.

C.

D.

E.

W Courier Newlr Z

Question 15

Select which of the following is incorrect with respect to an XML Schema element content model. Assume the Schema namespace prefix is "xs".

Options:

A.

When the ProductCode element is limited to text data, and the number of character is limited, use the following

simpleType to construct a definition.

B.

When the ProductItem element content is a content model including a different element, use the following

complexType to construct a definition.

C.

Use the following simpleType when element content includes both character data and an element.

D.

Use the following simpleType for defining an empty element.

W Courier Newlr Z

Question 16

Assume you are applying a restriction in an XML Schema that defines a pattern for a Postal Code that has "three numerical digits followed by a hyphen, and then four more digits". Select which of the following is the correct coding method for this pattern. Assume the Schema namespace prefix is "xs".

Options:

A.

B.

C.

D.

W Courier Newlr Z

Question 17

Press the Exhibit button to view "XML Document". Select which of the following correctly describes the results of applying "XSLT Stylesheet" to "XML Document". Assume that the input XML document and transformation results ignore meaningless whitespace.

Options:

A.

A file that does not contain any content will be output, because the XML document LIST element does not contain a name attribute.

B.

The following XML document will be output.

PenPaper

C.

The following XML document will be output.

<?xml version="1.0"?>

<LIST>

<name lang="jp">Pen</name>

<name lang="jp">Paper</name>

</LIST>

D.

The following XML document will be output.

<?xml version="1.0"?>

<LIST> <name lang="jp">Pen</name>

<name lang="jp">Paper</name>

PenPaper

</LIST>W Courier Newlr Z

Question 18

Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml", and output the "SMTP" in the content of the service element as the transformation result. Select which of the following correctly describes what belongs in (1) of the XSLT stylesheet.

Options:

A.

/security/detail/service

B.

/security/detail[position()=1]/service

C.

/security/detail[not(position()=last())]/service

D.

/security/detail[1]/service

E.

//serviceW Courier Newlr Z

Page: 1 / 13
Total 129 questions