This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

template


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 = &quot;bullet&quot;]">
		<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]