[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 = "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@xxxxxxxxx | | --------- | | 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|