26.01.2019 Views

XML Simplified

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Module 1<br />

Introduction to <strong>XML</strong><br />

2. Which of the characteristics are true or false accordingly when an <strong>XML</strong> document is created by an<br />

<strong>XML</strong> editor?<br />

(A)<br />

(B)<br />

(C)<br />

(D)<br />

(E)<br />

<strong>XML</strong> syntax is colored.<br />

<strong>XML</strong> is not validated.<br />

<strong>XML</strong> parser reads the document after it is created.<br />

<strong>XML</strong> is transformed only via XSLT.<br />

<strong>XML</strong> document is edited by keeping DTD in mind.<br />

Concepts<br />

3. Which of the statements about <strong>XML</strong> browsers and parsers are true and which statements are<br />

false?<br />

(A)<br />

(B)<br />

(C)<br />

(D)<br />

(E)<br />

<strong>XML</strong> parser is calculated against its speed and performance.<br />

<strong>XML</strong> parser checks for validity and well-formedness.<br />

<strong>XML</strong> parser does its work after the processor converts the document into a data structure.<br />

Browser displays the content directly after the parser passes the data.<br />

Crimson and Xerces are some of the browsers.<br />

1.3 Working with <strong>XML</strong><br />

In this third lesson, Working with <strong>XML</strong>, you will learn to:<br />

‣ ¾ Explain the steps towards building an <strong>XML</strong> document.<br />

‣ ¾ Define what is meant by well-formed <strong>XML</strong>.<br />

1.3.1 Creating an <strong>XML</strong> Document<br />

An <strong>XML</strong> document has three main components:<br />

1. Tags (markup) and text (content)<br />

2. DTD or Schema<br />

3. Formatting or display specifications<br />

<strong>XML</strong> <strong>Simplified</strong><br />

Version 1.0 © Aptech Limited

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!