You've probably heard the propaganda by now: XML blesses you with a way to
separate content from presentation. Separation in turn yields productive
gains over HTML and other data formats used to manage content.
In a process sometimes called single sourcing, the content of an XML document
can be formatted for display in a Web browser, reformatted for delivery to
such devices as mobile phones and handheld computers, and converted into a
PDF file suitable for printing.
A news story, for example, that has been marked up in XML can be transformed
into HTML for publication on a Web site, converted into Wireless Markup
Language (WML) for display on a cell phone's screen, and rendered into a
format from which a PDF file can be generated. Meantime, parts of the news
story, such as paragraphs that supply background information about a given
subject, can be reused in other XML... (more)
The power and elegance of XSLT - the Extensible Stylesheet Language for
Transformations - stems from its ability to transform XML documents into
other output formats like HTML, fulfilling one of the original promises of
XML: separating content from presentation.
XSLT is particularly powerful because a single stylesheet can format all the
XML documents conforming to a DTD into HTML for publication on a Web site.
The stylesheet can also be used to automatically generate such features as a
hyperlinked table of contents, the building of which requires substantial
manual work without... (more)
Introductions to XML all too often ignore the power of the attribute. It gets
neglected in favor of the element's ability to capture the structure of a
document or the meaning of content. But in developing flexible, reusable
document models and in capturing metainformation about structure or content,
the attribute's overlooked utility quickly comes into focus.
Overlooked, too, have been entities, with few introductions to XML freeing
them from their shroud of mystery. They are, however, a powerful method for
reusing content or code, both in documents and, as we'll see, in DTDs. To... (more)
No, the abbreviation DTD is not etymologically related to a similar
abbreviation from medical science, namely, DTs (or delirium tremens), a
violent delirium with tremors, which is induced by the prolonged use of
alcohol. Though in absorbing the intricacies of DTDs and trying to develop
your first one, you may begin to wonder whether the two terms are somehow
Even if you've mastered the basic syntax of XML, writing your first document
type definition can be brow-ruffling, not in the least because DTD syntax is
different from XML. This tutorial aims to ease you into DTD... (more)
This month's tutorial, the second in a series, picks up where last month's
left off - on the path toward publishing your résumé on the Internet as an
XML document. Last month (XML-J, Vol. 2, issue 5) I presented an overview of
XML, described its basic building blocks, and demonstrated how to create a
simple XML document.
This month, after reviewing XML's fundamental components, I'll guide you
through the process of marking up a résumé with XML. In doing so the column
touches on the fundamentals of structuring and marking up data as well as
some of the concepts - such as hierarch... (more)