Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

XML I10-001 Dumps 2026 with Free Practice Questions and Answers

Practise for the XML Master Basic exam with 12 original questions, each with an answer and explanation.

Topics: Section 1 - XML Overview, Section 2 - Creating XML Documents, Section 3 - DTD, Section 4 - XML Schema and 2 more.

Includes single answer, multiple answers, order list and drag and drop. A new question is added every 15 days.

I10-001 Practice Set Details

Vendor
XML
Exam Code
I10-001
Questions On This Page
12
Exam Topics Covered
6 of 6
Question Types
4
Newest Question
New Question
Every 15 days
Full Question Set
129
Certification
XML Master
12 questions

XML I10-001 Exam Questions and Answers by Topic

Section 1 - XML Overview

2 practice questions on this topicWhat this topic covers

Question 1

Added

Multiple Answers

A standards team is selecting technologies for a new document-processing platform. The platform must locate nodes in an XML document, apply rule-based transformations to produce a different document, and expose parsed documents to an application through an event-driven interface. The team wants standards that directly provide each of these functions; it is not selecting a query language for database collections or a protocol for exchanging messages between services. Which three technology-to-function assignments meet the requirements? (Choose three.)

Correct answer: A, D, E

XPath supplies location paths and expressions for selecting nodes, while XSLT uses templates and XPath expressions to transform source trees. SAX provides an event-driven parser interface, which fits the application requirement without requiring a complete document tree API. XQuery is a query language, not a parser callback specification. SOAP provides a messaging framework, not node-selection expressions.

Question 2

Added

Single Answer

A publishing team must exchange structured product catalogs with several partners. Partners use different programming languages and platforms, and the catalog format must remain readable by people and usable by standard XML tools. The team is considering a proprietary binary format because it is compact, but partners cannot install a shared vendor library. Which design choice best meets the interoperability requirement while preserving a defined structure for the catalog?

Correct answer: D

XML provides a text-based, platform-independent document syntax, while a schema language can define allowed elements, attributes, and content. XSLT transforms XML rather than serving as the document's storage syntax, and XPath selects nodes rather than defining a document grammar. DOM is an in-memory programming interface, not an exchange syntax. SOAP is a messaging protocol built around XML envelopes, while XLink addresses linking relationships rather than catalog structure.

Section 2 - Creating XML Documents

2 practice questions on this topicWhat this topic covers

Question 3

Added

Single Answer

A supplier sends an XML document containing a product description with the literal text "A & B". The receiving system rejects the document before schema validation, although the element nesting appears correct. The supplier wants to preserve the exact displayed text without adding a DTD or changing the text seen by users. Which correction is the most appropriate?

Correct answer: B

In character data, an ampersand begins a reference and cannot appear literally unless it begins a valid reference. Writing & represents the ampersand character while keeping the displayed text unchanged. An entity declaration would still need to be referenced using &name;, and the predefined entity already supplies the needed character. A comment removes the text from the element's character data, while processing instructions do not alter XML parsing rules.

Question 4

Added

Multiple Answers

A records application accepts documents only when they are well-formed and valid against a supplied DTD. A new document has matching start and end tags and a document type declaration, but no validation has yet been performed. The developer needs to distinguish what must be true for the parser to report validity, rather than merely successful XML parsing. Which two actions or conditions are required? (Choose two.)

Correct answer: C, D

Validity is determined by conformance to the applicable DTD declarations, including element content models and declared attributes. A validating processor must actually perform validation and have access to the declarations it needs; well-formedness alone does not establish validity. XML Schema is a separate schema language and its declarations do not substitute for the DTD named for this validation. A processing instruction cannot force a non-validating processor to validate, and character references do not define permitted structure.

Section 3 - DTD

2 practice questions on this topicWhat this topic covers

Question 5

Added

Order List

A document producer is adding a DTD to an XML format that currently has no document type declaration. The DTD must be maintained as part of each document during an initial rollout, and a later migration to a shared external DTD is planned. For the initial rollout, arrange the authoring steps in the order needed to make a document well-formed and valid against the DTD.

Drag the steps into the correct order, or use the arrows.

  1. Write the document element and its content to match the declarations.
  2. Check the resulting document for well-formedness and DTD validity.
  3. Place the document type declaration before the document element.
  4. Write element and attribute declarations in a DTD subset.
Correct answer:
  1. Write element and attribute declarations in a DTD subset.
  2. Place the document type declaration before the document element.
  3. Write the document element and its content to match the declarations.
  4. Check the resulting document for well-formedness and DTD validity.

The declarations must exist in the internal subset before the document element is parsed, so the document type declaration belongs in the prolog. The document element and its content are then written to conform to those declarations, after which both XML well-formedness and validity can be checked. Writing the root before establishing its declarations reverses the required authoring dependency. Checking before the document and DTD are complete cannot establish validity.

Question 6

Added

Order List

A team is preparing a DTD for a document type that has a mandatory title, followed by zero or more paragraphs, with each paragraph containing parsed character data only. The DTD must also declare an optional language attribute whose default is the literal value "en". Arrange the construction steps in the order needed to express these requirements in DTD declarations.

Drag the steps into the correct order, or use the arrows.

  1. Declare the title element with parsed character data content.
  2. Declare the language attribute as CDATA with default value "en".
  3. Declare the document element with title followed by zero or more paragraphs.
  4. Declare the paragraph element with parsed character data content.
Correct answer:
  1. Declare the paragraph element with parsed character data content.
  2. Declare the document element with title followed by zero or more paragraphs.
  3. Declare the title element with parsed character data content.
  4. Declare the language attribute as CDATA with default value "en".

The declarations first define the leaf elements used by the document content model, then define the document element in terms of those element types, and finally add its attribute-list declaration. In a DTD, parsed character data is expressed with (#PCDATA), and repetition of the paragraph particle is expressed with *. The CDATA attribute type and quoted default value belong in an ATTLIST declaration. The order also makes the dependency of the document element's content model on the declared element types explicit.

Section 4 - XML Schema

2 practice questions on this topicWhat this topic covers

Question 7

Added

Single Answer

A standards group defines an XML Schema for messages whose elements must use the namespace urn:acme:orders. The schema document itself is stored at a different URI, and instances may select prefixes freely. A validator currently reports that an instance element in urn:acme:orders is undeclared, although the schema has a matching local declaration. The schema uses the XML Schema namespace correctly but has no targetNamespace declaration. What is the best correction?

Correct answer: D

The schema's targetNamespace assigns its global declarations to urn:acme:orders; the schema document's own location is unrelated to that namespace. Instance prefixes are aliases, so matching prefix spelling is unnecessary, but the instance element must be in the namespace and qualified as the schema requires. Changing the schema root's default namespace does not replace the XML Schema namespace binding. Using the schema location as an instance namespace confuses a retrieval URI with a namespace name, and per-element namespace declarations do not establish the schema target namespace.

Question 8

Added

Single Answer

A vendor's order format uses an XML Schema to require an order element with a customer child and a decimal total attribute. A revised format must allow one or more line children, each with a positive integer quantity, while retaining the existing customer and total requirements. The vendor wants a reusable type that can be extended by a regional schema without redefining the base order structure. Which approach best fits these requirements?

Correct answer: B

An order containing child elements and an attribute requires a complex type. XML Schema complex-content extension can preserve the base type's customer content and total attribute while adding a sequence of line elements; the line declaration can constrain quantity using a positive integer type. A simple type cannot contain child elements. Attribute groups organize attributes rather than element content, and notations do not define element structure or decimal-derived content.

Section 5 - XSLT, XPath

2 practice questions on this topicWhat this topic covers

Question 9

Added

Single Answer

A support team transforms purchase orders into a summary report. Each order has a customer child and zero or more item children; each item has a numeric price attribute. The report must include the customer and a total calculated from the item prices, and the stylesheet must work with a standard XSLT 1.0 processor without extension functions. Which XPath expression correctly computes the total for the current order context?

Correct answer: D

With the current order as context, item/@price selects the price attributes of that order's item children, and XPath 1.0 sum() converts the selected numeric values and adds them. The absolute descendant path in the second expression looks for price child elements and may include items from other orders, while the scenario places price in an attribute. count() returns the number of attributes, not their sum. number() converts a node-set using its first node rather than aggregating all item prices.

Question 10

Added

Drag And Drop

A maintenance team is reviewing an XSLT stylesheet that produces an XML result tree. Match each transformation requirement to the XSLT mechanism that directly provides it.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Insert a computed value as text in the result
Copy source nodes and their subtrees into the result
Apply templates to selected child nodes
Choose a rule based on the current node's match pattern
xsl:apply-templates with select
xsl:template with match
xsl:value-of with select
xsl:copy-of with select
Correct answer:
  • Choose a rule based on the current node's match pattern → xsl:template with match
  • Apply templates to selected child nodes → xsl:apply-templates with select
  • Insert a computed value as text in the result → xsl:value-of with select
  • Copy source nodes and their subtrees into the result → xsl:copy-of with select

An xsl:template match pattern determines when a template rule applies. xsl:apply-templates selects nodes for further rule processing, which enables the stylesheet's template rules to handle them. xsl:value-of evaluates an expression and emits its string value as text. xsl:copy-of copies selected nodes, including their subtree structure, into the result. These mechanisms are distinct: selecting nodes for rule processing is not the same as copying them directly.

Section 6 - Namespace

2 practice questions on this topicWhat this topic covers

Question 11

Added

Single Answer

A company merges XML fragments from two departments. Both fragments contain an element named record, but one means a customer record and the other means a warehouse record. The merged document must keep both vocabularies distinct, and existing unprefixed elements in the customer fragment must continue to belong to the customer's namespace. Which change is the best fit?

Correct answer: C

Namespace names distinguish element names by the combination of local name and namespace URI. A distinct warehouse namespace and prefix allow the warehouse record to coexist with the customer's vocabulary, while the customer fragment can retain its existing namespace association. Renaming elements is unnecessary and does not provide namespace-based identity. One default namespace cannot distinguish two vocabularies for the same local name, and entities do not create namespace identities or substitute text into XML names.

Question 12

Added

Single Answer

An XML document declares xmlns:p="urn:inventory" on the root element. A nested element later declares xmlns:p="urn:returns". A parser reports the namespace URI of a p:item element inside that nested element, and a downstream system expects the original inventory URI there. The team cannot rename elements but can adjust namespace declarations. What is the correct fix?

Correct answer: C

A prefixed namespace declaration applies within its scope, and the nearest declaration for p governs p:item. The nested binding therefore changes the element's namespace URI to urn:returns; removing or correcting that binding restores urn:inventory. Namespace declarations cannot be placed in the XML declaration. A default namespace affects unprefixed element names, not the p prefix, and xml:base controls relative URI resolution rather than namespace bindings.

More Practice Questions

Get the Full XML I10-001 Dumps as PDF and Practice Test

12 questions are free on this page and the full set has 129. It comes as a PDF and an online practice test, with 90 days of free updates.