Datasheet

Williams c01.tex V3 - 07/31/2009 2:53pm Page 16
Chapter 1: First Steps with XSLT
Atom DC Description
summary description
Description of the resource
language
Principal language of the resource
content/@type format
File format
type
Defines either the genre or intellectual type of the
resource
publisher
Supplier of the resource
source source
Identifier for source material for the resource,
assuming it is derived from another format
content
Container of or link to the content
coverage
Locations or periods that are subjects of the resource
category subject
Subjects of the resource
rights rights
Rights information
relation
Reference to a related resource
Listing 1-5 shows part of an Atom feed from the
xml.com
website. We’ll use this document as the source
for the transformation. Some content, an additional namespace declaration, and stylesheet-processing
instructions have been removed for clarity.
The listing shows the
<feed>
element and its content to the end of the first
<entry>
element. The code
download is in the file
atom.xml
.
Listing 1-5
<?xml version
=
"1.0" encoding
=
"UTF-8"?>
<feed xmlns
=
"http://www.w3.org/2005/Atom">
<title>O’Reilly News: XML</title>
<link rel
=
"alternate" type
=
"text/html" href
=
"http://news.oreilly.com/"/>
<id>tag:news.oreilly.com,2008-08-01://44</id>
<updated>2008-12-17T07:32:30Z</updated>
<subtitle>O’Reilly News - Spreading the knowledge of innovators</subtitle>
<generator uri
=
"http://www.sixapart.com/movabletype/">Movable Type Pro 4.21-en
</generator>
<link rel
=
"self" href
=
"http://feeds.oreilly.com/oreilly/xml"
type
=
"application/atom
+
xml"/>
<entry>
<title>Defining markup languages using Unicode properties</title>
<link rel
=
"alternate" type
=
"text/html" href
=
"http://feeds.oreilly.com
/
r/oreilly/xml/
3/487372046/defining-markup-languages-usin.html"/>
<id>tag:broadcast.oreilly.com,2008://53.34679</id>
<published>2008-12-17T03:01:23Z</published>
<updated>2008-12-17T07:32:30Z</updated>
16