L
Larry
Hi,
I'd like to do something like this:
<xsl:template match="key" mode="getAsUri">
<xsl:variable name="txt">
<xsl:apply-templates select="." mode="getValue" />
</xsl:variable>
<xsl:value-of select="ext:contents('ip.txt')"/>
<xsl:value-of select="substring-after($txt,'file://localhost')"
disable-output-escaping="yes" />
</xsl:template>
But I can't seem to figure out how to include some text...
If I put this:
<xsl:text>http://192.168.0.2:9000</xsl:text>
instead of:
<xsl:value-of select="ext:contents('ip.txt')"/>
it works...
I'd like to do something like this:
<xsl:template match="key" mode="getAsUri">
<xsl:variable name="txt">
<xsl:apply-templates select="." mode="getValue" />
</xsl:variable>
<xsl:value-of select="ext:contents('ip.txt')"/>
<xsl:value-of select="substring-after($txt,'file://localhost')"
disable-output-escaping="yes" />
</xsl:template>
But I can't seem to figure out how to include some text...
If I put this:
<xsl:text>http://192.168.0.2:9000</xsl:text>
instead of:
<xsl:value-of select="ext:contents('ip.txt')"/>
it works...