14.04.2015 Views

XML essentials (PDF) - Chagall

XML essentials (PDF) - Chagall

XML essentials (PDF) - Chagall

SHOW MORE
SHOW LESS

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

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

<strong>XML</strong> elements can have attributes (e.g., attribute=”” or size=””). Attributes are<br />

often used to describe properties of the element, such as size and color of the<br />

“boat” element in Document 1.<br />

Together with the ability to create a hierarchy of elements, these features make it<br />

possible to represent a variety of information.<br />

For instance, Document 2, below, illustrates how data and information can be<br />

represented in <strong>XML</strong> and shows that text can be used as a child of element (see<br />

).<br />

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

Saved successfully!

Ooh no, something went wrong!