Project

General

Profile

« Previous | Next » 

Revision 5707

do not use replace() XPath function - it is 2.0 (not in Xalan)

View differences:

eml-distribution.xsl
144 144
        <xsl:if test="starts-with($URL,'ecogrid')">
145 145
			<xsl:variable name="URL1" select="substring-after($URL, 'ecogrid://')"/>
146 146
			<xsl:variable name="docID" select="substring-after($URL1, '/')"/>
147
			<xsl:variable name="divID" select="replace($docID, '.', '_')"/>
147
			<xsl:variable name="divID">dataStats</xsl:variable>
148 148
			<span>
149 149
          		<xsl:attribute name="id">
150 150
          			<xsl:value-of select="$divID" />

Also available in: Unified diff