[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] multi-paragraph blockquotes


Subject: Re: [xsl] multi-paragraph blockquotes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 6 May 2005 16:14:50 +0100

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">



<xsl:template match="/">
<html>
<head>
<style>
.para {
margin-top: 1em;
}
.blockquote {
margin-top: 1em;
margin-bottom: 1em;
margin-left: 3em;
}
</style>
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>


<xsl:template match="para">
 <div class="para">
 <xsl:apply-templates/>
 </div>
</xsl:template>

<xsl:template match="blockquote">
 <div class="blockquote">
 <xsl:apply-templates/>
 </div>
</xsl:template>


</xsl:stylesheet>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread