Lines 2-8
Link Here
|
2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" |
2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" |
3 |
xmlns:lxslt="http://xml.apache.org/xslt" |
3 |
xmlns:lxslt="http://xml.apache.org/xslt" |
4 |
xmlns:redirect="http://xml.apache.org/xalan/redirect" |
4 |
xmlns:redirect="http://xml.apache.org/xalan/redirect" |
5 |
xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils" |
5 |
xmlns:string="xalan://java.lang.String" |
6 |
extension-element-prefixes="redirect"> |
6 |
extension-element-prefixes="redirect"> |
7 |
<xsl:output method="html" indent="yes" encoding="UTF-8"/> |
7 |
<xsl:output method="html" indent="yes" encoding="UTF-8"/> |
8 |
<xsl:decimal-format decimal-separator="." grouping-separator=","/> |
8 |
<xsl:decimal-format decimal-separator="." grouping-separator=","/> |
Lines 864-873
Link Here
|
864 |
|
864 |
|
865 |
<xsl:template name="JS-escape"> |
865 |
<xsl:template name="JS-escape"> |
866 |
<xsl:param name="string"/> |
866 |
<xsl:param name="string"/> |
867 |
<xsl:param name="tmp1" select="stringutils:replace(string($string),'\','\\')"/> |
867 |
<xsl:param name="tmp1" select="string:replace(string:new(string($string)),string:new('\'),string:new('\\'))"/> |
868 |
<xsl:param name="tmp2" select="stringutils:replace(string($tmp1),"'","\'")"/> |
868 |
<xsl:param name="tmp2" select="string:replace(string:new(string($tmp1)),string:new("'"),string:new("\'"))"/> |
869 |
<xsl:param name="tmp3" select="stringutils:replace(string($tmp2)," ",'\n')"/> |
869 |
<xsl:param name="tmp3" select="string:replace(string:new(string($tmp2)),string:new(" "),string:new('\n'))"/> |
870 |
<xsl:param name="tmp4" select="stringutils:replace(string($tmp3)," ",'\r')"/> |
870 |
<xsl:param name="tmp4" select="string:replace(string:new(string($tmp3)),string:new(" "),string:new('\r'))"/> |
871 |
<xsl:value-of select="$tmp4"/> |
871 |
<xsl:value-of select="$tmp4"/> |
872 |
</xsl:template> |
872 |
</xsl:template> |
873 |
|
873 |
|