This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
template
- From: CHAOUI Hassan <HCHAOUI at unedic dot fr>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 2 May 2002 16:41:36 +0200
- Subject: [xsl] template
- Reply-to: xsl-list at lists dot mulberrytech dot com
I have two templates (table and list), when I apply the table template :
<xsl:template match="table">
<Règle Nom="{normalize-space(row[1]/cell[1])}"
Description="{normalize-space(row[1]/cell[2])}">
<xsl:for-each select="row[position() != 1]">
<xsl:element
name="{translate(normalize-space(cell[1]), ' ', '_')}">
<xsl:value-of
select="normalize-space(cell[2])"/>
</xsl:element>
</xsl:for-each>
</Règle>
</xsl:template>
I can't apply the list one :
<xsl:template match="list[@style = "bullet"]">
<bullet>
<xsl:apply-templates/>
</bullet>
</xsl:template>
How can I do to apply the two template if I have a bullet list in a table.
Thank you for helping
+----------------------------------------------------------------+
| Ce courrier ainsi que les fichiers joints sont confidentiels. |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : exp-iris@unedic.fr |
| --------- |
| Ce message confirme que le courrier a passe le controle |
| antivirus du relais de messagerie Internet avec succes. |
+----------------------------------------------------------------+
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list