You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cr...@apache.org on 2003/12/06 06:06:59 UTC

cvs commit: cocoon-2.1/src/webapp/samples/text-wrap/xslt docnbsp.xsl

crossley    2003/12/05 21:06:59

  Modified:    src/webapp/samples/text-wrap/xslt docnbsp.xsl
  Log:
  Text tweaks only.
  
  Revision  Changes    Path
  1.3       +6 -5      cocoon-2.1/src/webapp/samples/text-wrap/xslt/docnbsp.xsl
  
  Index: docnbsp.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/text-wrap/xslt/docnbsp.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- docnbsp.xsl	14 Nov 2003 17:49:53 -0000	1.2
  +++ docnbsp.xsl	6 Dec 2003 05:06:59 -0000	1.3
  @@ -1,10 +1,11 @@
   <?xml version="1.0"?>
   <xsl:stylesheet version="1.0" 
  -                xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:str="http://exslt.org/strings"
  -                extension-element-prefixes="str">
  +  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  +  xmlns:str="http://exslt.org/strings"
  +  extension-element-prefixes="str">
   
  -<!-- doc.xsl - text line wrapping
  -  This stylesheet does not do any line wrapping.
  +<!-- doc2nbsp.xsl - text line wrapping
  +  This stylesheet uses exslt extension for strings to add non-breaking spaces.
   -->
   
     <xsl:template match="document">
  @@ -13,7 +14,7 @@
           <title><xsl:value-of select="header/title"/></title>
         </head>
         <xsl:apply-templates/>
  -      </html>
  +    </html>
     </xsl:template>
   
     <xsl:template match="body">