1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
   | <?xml version="1.0" encoding="windows-1252"?> 
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:xhtml="http://www.w3.org/1999/xhtml"> 
<xsl:output method="xml" indent="yes" encoding="windows-1252"/> 
 
 
  <xsl:template match="/">
    <doc>
      <xsl:apply-templates select="//xhtml:table[1]"/>
    </doc>
  </xsl:template>
 
 
<!-- titre -->    
<xsl:template match="//xhtml:table[1]//xhtml:td">  
      <xsl:element name="text">
         <xsl:attribute name="titre">         
           <xsl:value-of select="."/> 
         </xsl:attribute> 
       </xsl:element> 
 </xsl:template>
 </xsl:stylesheet> |