You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by gl...@apache.org on 2001/07/03 03:24:38 UTC

cvs commit: jakarta-taglibs/src/taglib examples.xsl

glenn       01/07/02 18:24:38

  Added:       src/taglib examples.xsl
  Log:
  Stylesheet to transform text version of a jsp to HTML
  
  Revision  Changes    Path
  1.1                  jakarta-taglibs/src/taglib/examples.xsl
  
  Index: examples.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:output method="html" 
                encoding="ISO-8859-1"
                indent="yes" 
                omit-xml-declaration="yes"/>
  
  <xsl:template match="/document">
  <html>
  <body>
  <pre>
    <xsl:copy-of select="*|text()"/>
  </pre>
  </body>
  </html>
  </xsl:template>
  
  </xsl:stylesheet>