FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Architecture & Design
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
January 01, 2002

XSL The Extensible Style Language (Web Techniques, Jan 1999)

(Page 7 of 7)
"The Extensible Style Language (XSL)"
by Norman Walsh
Web Techniques, January 1999

Web Techniques grants permission to use these listings (and code) for private or commercial use provided that credit to Web Techniques and the author is maintained within the comments of the source. For questions, contact editors@web-techniques.com.

<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template pattern="doc"> <HTML> <HEAD> <TITLE>A Document</TITLE> <HEAD> <BODY> <xsl:process-children/> </BODY> </HTML> </xsl:template>

<xsl:template pattern="title"> <H1> <xsl:process-children/> </H1> </xsl:template>

<xsl:template pattern="para"> <P> <xsl:process-children/> </P> </xsl:template>

<xsl:template pattern="em"> <I> <xsl:process-children/> </I> </xsl:template>

<xsl:template pattern="em/em"> <B> <xsl:process-children/> </B> </xsl:template>

<xsl:template pattern="figure"> <DIV> <B>Figure <xsl:number level="any" count="figure"/>.</B><BR/> <SPAN><xsl:process select="graphic"/><BR/></SPAN> <B><xsl:process select="title"/></B> </DIV> </xsl:template>

<xsl:template pattern="figure/title"> <H3> <xsl:process-children/> </H3> </xsl:template>

</xsl:stylesheet>

Previous Page | 1 | 2 | 3 | 4 | 5 | 6 | 7
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK