Subject: Re: XSL Limitation? Is this possible?
From: "Emmanuel.Leguy" <Emmanuel.Leguy@xxxxxxx>
Date: Mon, 17 May 1999 11:11:07 +0200
|
I have a very simple solution which works perfectly with cocoon:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="PARAGRAPH">
<HTML>
<BODY>
<xsl:apply-templates/>
</BODY>
</HTML>
</xsl:template>
<xsl:template match="SENTENCE">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="SUBJECT">
<B><xsl:apply-templates/></B>
</xsl:template>
<xsl:template match="VERB">
<B><xsl:apply-templates/></B>
</xsl:template>
</xsl:stylesheet>
Why more complicated solutions? Because of IE5?
Emmanuel Leguy.
--
Laboratoire d'Informatique Fondamentale de Lille (LIFL)
Universite des Sciences et Technologies de Lille
Batiment M3 Cite Scientifique
59655 Villeneuve d'Ascq Cedex
FRANCE
tel: 03 20 33 63 38
fax: 03 20 43 65 66
mailto:Emmanuel.Leguy@xxxxxxx
http://www.lifl.fr
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|