XML Intro
XML Intro
http://www.webster.ch/ - http://tecfa.unige.ch
Objectives
History and design rationale for XML
Markup languages
Basics of the XML formalism
XML on the Web
Sample XML languages / applications
1995/98
1985 1990
XML
eXtensible Markup Language
DKS – 08/12/21 Slide 3 http://www.webster.ch/ - http://tecfa.unige.ch
The XML standard: 1998 – 2000
T. Bray, J. Paoli, and C. M. Sperberg-McQueen
(Eds.), Extensible Markup Language (XML) 1.0,
W3C Recommendation 10- February-1998,
http://www.w3.org/TR/1998/REC-xml-
19980210/ .
T. Bray, J. Paoli, C. M. Sperberg-McQueen, and
E. Maler (Eds.), Extensible Markup Language
(XML) 1.0 (Second Edition), W3C
Recommendation 6 October 2000,
http://www.w3.org/TR/2000/REC-xml-
20001006/ .
Typical document
X M L a p p l i c a t io n s .
XSLT
X L in k
.....ML
SVG
X SL
X P o in t e r
RDF P IC S
S M IL
P3P
X P ath
app. 2 .0
HTM L
R D F S e m a n tic s
a p p l ic a t i o n s
SGML XML
(subset of SGML)
Book
FrontMatter
BookTitle
Author(s)
PubInfo
Chapter(s)
ChapterTitle
Paragraph(s)
BackMatter
References
Index
<xsl:template match="title">
<h1 align="center"> <xsl:apply-templates/> </h1>
</xsl:template>
<xsl:template match="content">
<p align="center"> <xsl:apply-templates/> </p>
</xsl:template>
<xsl:template match="comment">
<hr /> <xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
XSL-FO
XSLT
XML
XML-aware HTML
Wordprocessor PDF / PS