home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / toolkit.jar / content / mozapps / extensions / updateinfo.xsl < prev   
Encoding:
Extensible Markup Language  |  2007-09-06  |  1.1 KB  |  39 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"
  3.                               xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  4.  
  5.   <xsl:template match="text()">
  6.   </xsl:template>
  7.   
  8.   <xsl:template match="text()" mode="list">
  9.   </xsl:template>
  10.   
  11.   <xsl:template match="text()" mode="text">
  12.     <xsl:value-of select="."/>
  13.   </xsl:template>
  14.   
  15.   <xsl:template match="xhtml:script" mode="text">
  16.   </xsl:template>
  17.   
  18.   <xsl:template match="xhtml:b|xhtml:i|xhtml:em|xhtml:strong" mode="text">
  19.     <xsl:copy><xsl:apply-templates mode="text"/></xsl:copy>
  20.   </xsl:template>
  21.   
  22.   <xsl:template match="xhtml:h1|xhtml:h2|xhtml:h3|xhtml:p">
  23.     <xsl:copy><xsl:apply-templates mode="text"/></xsl:copy>
  24.   </xsl:template>
  25.  
  26.   <xsl:template match="xhtml:li" mode="list">
  27.     <xsl:copy><xsl:apply-templates mode="text"/></xsl:copy>
  28.   </xsl:template>
  29.  
  30.   <xsl:template match="xhtml:ul|xhtml:ol">
  31.     <xsl:copy><xsl:apply-templates mode="list"/></xsl:copy>
  32.   </xsl:template>
  33.   
  34.   <xsl:template match="/">
  35.     <xhtml:body><xsl:apply-templates/></xhtml:body>
  36.   </xsl:template>
  37.   
  38. </xsl:stylesheet>
  39.