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 2001/11/09 07:25:57 UTC

cvs commit: xml-cocoon2/webapp/docs/samples/catalog style.xsl

crossley    01/11/08 22:25:57

  Modified:    webapp/docs/samples/catalog style.xsl
  Log:
  Challenge the entity resolver of the stylesheet parser.
  PR:3895
  
  Revision  Changes    Path
  1.2       +13 -0     xml-cocoon2/webapp/docs/samples/catalog/style.xsl
  
  Index: style.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/catalog/style.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- style.xsl	2001/08/28 12:52:23	1.1
  +++ style.xsl	2001/11/09 06:25:57	1.2
  @@ -1,4 +1,11 @@
   <?xml version='1.0'?>
  +<!DOCTYPE xsl:stylesheet [
  + <!ENTITY % ISOnum PUBLIC
  +   "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
  +   "ISOnum.pen">
  + %ISOnum;
  +]>
  +
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                   version='1.0'>
   
  @@ -11,6 +18,12 @@
    </head>
    <body>
     <xsl:apply-templates/>
  +  <p>
  +   This footer is applied by the stylesheet. The following entity is resolved
  +   by the parser when it interprets the stylesheet
  +   <br/>Use &amp;frac14; to represent &frac14; (one-quarter symbol)
  +   <br/>The ISOnum entity set was declared in the header of the stylesheet.
  +  </p>
    </body>
   </html>
   </xsl:template>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org