Changeset 24692


Ignore:
Timestamp:
2011-09-29T18:30:58+13:00 (10 years ago)
Author:
ak19
Message:

Lan fixed errors in the xsl file which was causing execution of ApplyXSLT.java on it to fail with errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/gti/gti-generate-excel-xml.xsl

    r24434 r24692  
    7777        <Data ss:Type="String">
    7878          <xsl:for-each select="SourceFileText">
    79         <xsl:variable name="tempText1" select='java:ApplyXSLT.replaceAll(., "\n", "&amp;#10;&#10;")'/>
    80         <xsl:variable name="tempText2" select='java:ApplyXSLT.replaceAll($tempText1, "&#60;", "&amp;lt;")'/>
    81         <xsl:variable name="escapedText" select='java:ApplyXSLT.replaceAll($tempText2, "&#62;", "&amp;gt;")'/>
     79        <xsl:variable name="tempText1" select='java:org.nzdl.gsdl.ApplyXSLT.replaceAll(., "\n", "&amp;#10;&#10;")'/>
     80        <xsl:variable name="tempText2" select='java:org.nzdl.gsdl.ApplyXSLT.replaceAll($tempText1, "&#60;", "&amp;lt;")'/>
     81        <xsl:variable name="escapedText" select='java:org.nzdl.gsdl.ApplyXSLT.replaceAll($tempText2, "&#62;", "&amp;gt;")'/>
    8282        <xsl:value-of select='$escapedText' disable-output-escaping="yes"/>
    8383          </xsl:for-each>
     
    9393        <Data ss:Type="String">
    9494          <xsl:for-each select="TargetFileText">
    95         <xsl:variable name="tempText1" select='java:ApplyXSLT.replaceAll(., "\n", "&amp;#10;&#10;")'/>
    96         <xsl:variable name="tempText2" select='java:ApplyXSLT.replaceAll($tempText1, "&#60;", "&amp;lt;")'/>
    97         <xsl:variable name="escapedText" select='java:ApplyXSLT.replaceAll($tempText2, "&#62;", "&amp;gt;")'/>
     95        <xsl:variable name="tempText1" select='java:org.nzdl.gsdl.ApplyXSLT.replaceAll(., "\n", "&amp;#10;&#10;")'/>
     96        <xsl:variable name="tempText2" select='java:org.nzdl.gsdl.ApplyXSLT.replaceAll($tempText1, "&#60;", "&amp;lt;")'/>
     97        <xsl:variable name="escapedText" select='java:org.nzdl.gsdl.ApplyXSLT.replaceAll($tempText2, "&#62;", "&amp;gt;")'/>
    9898        <xsl:value-of select='$escapedText' disable-output-escaping="yes"/>
    9999          </xsl:for-each>
Note: See TracChangeset for help on using the changeset viewer.