Thanks to Michael and Syd!
On Tue, Oct 7, 2008 at 5:08 PM, Syd Bauman <Syd_Bauman(_at_)brown(_dot_)edu>
wrote:
Sorry, wasn't paying attention to the whole problem, just the
specific question.
Will the following do what you want?
<xsl:copy>
<xsl:variable name="regularizedMe" select="translate( ., '/', '\')"/>
<xsl:variable name="regularizedOld" select="translate( $old, '/', '\')"/>
<xsl:value-of select="substring-before( $regularizedMe, $regularizedOld
)"/>
<xsl:value-of select="$new"/>
<xsl:value-of select="substring-after( $regularizedMe, $regularizedOld
)"/>
</xsl:copy>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--