Feuille de style xsl pour Firefox
Voici la feuille de style xsl pour afficher l'extraction de patrons sur FIREFOX :
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<body bgcolor="white">
<p align="justify"><xsl:apply-templates select="//element"/></p>
</body>
</html>
</xsl:template>
<xsl:template match="element">
<xsl:choose>
<xsl:when test="(./data[contains(text(),'NOM')]) and (following-sibling::element[1][./data[contains(text(),'ADJ')]])">
<br />
<br />
<font color="blue">
<strong>
<xsl:value-of select="./data[3]" />
 
</strong>
</font>
<xsl:text />
</xsl:when>
<xsl:when test="(./data[contains(text(),'ADJ')]) and (preceding-sibling::element[1][./data[contains(text(),'NOM')]])">
<font color="red">
<strong>
<xsl:value-of select="./data[3]" />
</strong>
</font> <br/>
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>