L'élément <xsl:fallback> permet, en cas de reprise sur un élément d'instructions par le processeur XSLT, d'instancier séquentiellement son contenu, sinon une erreur se produit.
<xsl:fallback> Instructions... </xsl:fallback>
Cet élément peut être contenu par les instructions suivantes :
Cet élément peut contenir les instructions suivantes :
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <table border="1" width="100%"> <xsl:include href="entete.xsl"> <fallback> <tr> <th colspan="3">Logiciel</th> <tr> </tr> <th>Editeur</th> <th>Langue</th> <th>Prix</th> </tr> </fallback> </xsl:include> <xsl:apply-templates select="logitheque/categorie/logiciel"/> </table> <xsl:include href="pieddepage.xsl"> <fallback> <table> <tr> <td width="100%" align="left"> Mise à jour du site : 1 septembre 2001 </td> </tr> <table> </fallback> </xsl:include> </body> </html> </xsl:template> </xsl:stylesheet> |