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:con tents('ip.txt') "/>
<xsl:value-of select="substri ng-after($txt,'fil e://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>htt p://192.168.0.2:900 0</xsl:text>
instead of:
<xsl:value-of select="ext:con tents('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:con tents('ip.txt') "/>
<xsl:value-of select="substri ng-after($txt,'fil e://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>htt p://192.168.0.2:900 0</xsl:text>
instead of:
<xsl:value-of select="ext:con tents('ip.txt') "/>
it works...
Comment