]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Modified Id keyword in CDATA to prevent expansion in xsl file.
authorPeter Bernard West <pbwest@apache.org>
Tue, 8 Jul 2003 11:47:12 +0000 (11:47 +0000)
committerPeter Bernard West <pbwest@apache.org>
Tue, 8 Jul 2003 11:47:12 +0000 (11:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@196647 13f79535-47bb-0310-9956-ffa450edef68

src/codegen/font-file.xsl
src/codegen/xml-lang.xsl

index bf78baac396be6a06ac5fb71d835dcaeda20546a..22bbbe558ffb64bfdb3c9b7f76329d2383df5f1d 100644 (file)
@@ -1,10 +1,9 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 <xsl:stylesheet version="1.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-  <xsl:output method="text"/>
-    <xsl:variable name="licence"><![CDATA[/*
- * $Id$
+  <!-- $Id$ -->
+  <xsl:variable name="licence"><![CDATA[/*
+ * $Id]]><![CDATA[$
  * ============================================================================
  *                    The Apache Software License, Version 1.1
  * ============================================================================
@@ -57,7 +56,8 @@
  * Automatically generated by font-file.xsl.  DO NOT EDIT!
  *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  */]]> 
-    </xsl:variable>
+</xsl:variable>
+<xsl:output method="text"/>
 <!-- This file writes the class files for the fonts (Courier.java,
      Helvetica.java etc.).  It uses the information in the font
      description files (Courier.xml, Helvetica.xml) to do this.  In these
index e04062fa075d2128b95fc4e50d2e7d0c109ea03b..0442838efad74904a21c15b4baffe25214546447 100644 (file)
@@ -1,10 +1,9 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 <xsl:stylesheet version="1.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <xsl:output method="text" encoding="iso-8859-1"/>
-
-    <xsl:variable name="licence"><![CDATA[/*
- * $Id$
+  <!-- $Id$ -->
+  <xsl:variable name="licence"><![CDATA[/*
+ * $Id]]><![CDATA[$
  * ============================================================================
  *                    The Apache Software License, Version 1.1
  * ============================================================================
  * Automatically generated from xml-lang.xml by xml-lang.xsl.  DO NOT EDIT!
  *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  */]]> 
-    </xsl:variable>
-      <!--
-           This XSL file is used to generate the file
-           org/apache/fop/datatypes/CountryLanguageScript.java
-           from the input file
-           xml-lang.xml
-           found in the conf directory.
-           -->
-      <xsl:template match="xml-lang">
-        <xsl:value-of select="$licence"/>
+</xsl:variable>
+<!--
+     This XSL file is used to generate the file
+     org/apache/fop/datatypes/CountryLanguageScript.java
+     from the input file
+     xml-lang.xml
+     found in the conf directory. -->
+<xsl:output method="text" encoding="iso-8859-1"/>
+<xsl:template match="xml-lang">
+  <xsl:value-of select="$licence"/>
   <xsl:variable name="languages">
     <xsl:value-of select="count(./languagecodes/language)"/>
   </xsl:variable>