topical media & game development
[]
readme
course(s)
preface
I
1
2
II
3
4
III
5
6
7
IV
8
9
10
V
11
12
afterthought(s)
appendix
reference(s)
example(s)
resource(s)
_
professional-xml-02-Rss2Atom.xsl
/
xsl
<?xml
version='1.0' encoding='utf-8'?>
<xsl
:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform
" xmlns:a="
http://www.w3.org/2005/Atom
" xmlns:slash="
http://purl.org/rss/1.0/modules/slash/
" xmlns:wfw="
http://wellformedweb.org/CommentAPI/
" xmlns:dc="
http://purl.org/dc/elements/1.1/
" exclude-result-prefixes="a dc slash wfw">
<xsl
:output method="html" encoding="UTF-8" indent="yes"/>
<xsl
:template match="/">
<feed
xmlns:a="
http://www.w3.org/2005/Atom
" xmlns="
http://www.w3.org/2005/Atom
" xmlns:slash="
http://purl.org/rss/1.0/modules/slash/
" xmlns:wfw="
http://wellformedweb.org/CommentAPI/
" xmlns:dc="
http://purl.org/dc/elements/1.1/
"/>
<xsl
:value-of select="rss"/> xml:lang=""
<link
type="text/html" rel="
alternate
">
<xsl
:attribute name="href">
<xsl
:value-of select="rss/channel/link"/>
</xsl
:attribute>
</link>
<subtitle
type="html"/>
<xsl
:value-of select="rss/channel/description"/>
<generator
/>
<xsl
:value-of select="rss/channel/generator"/>
<entry
/>
<link>
<xsl
:attribute name="href">
<xsl
:value-of select="rss/channel/item/link"/>
</xsl
:attribute>
</link>
<content
type="html"/>
<xsl
:value-of select="rss/channel/item/description"/>
<slash
:comments/>
<xsl
:value-of select="rss/channel/item/slash:comments"/>
<wfw
:commentrss/>
<xsl
:value-of select="rss/channel/item/wfw:commentRss"/>
</xsl
:template>
</xsl
:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.
<meta
Information>
<scenarios
>
<scenario
default="yes" name="rss.xml" userelativepaths="yes" externalpreview="no" url="rss.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/>
</scenarios>
<MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="file:
c:/Documents and Settings/Kent/My Documents/My Writing/Books/ProXML/02-XMLTools/codeWork/atom.xml" destSchemaRoot="feed" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no" >