crossley 01/11/25 15:16:21 Modified: webapp/docs/samples/catalog Tag: cocoon_20_branch style.xsl Log: Challenge the entity resolver of the stylesheet parser. PR:3895 Revision Changes Path No revision No revision 1.1.2.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.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- style.xsl 2001/09/05 22:18:17 1.1.2.1 +++ style.xsl 2001/11/25 23:16:21 1.1.2.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 &frac14; to represent ¼ (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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]