|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to substitute a portion of the text value of a
Thanks to Michael and Syd! On Tue, Oct 7, 2008 at 5:08 PM, Syd Bauman <Syd_Bauman@xxxxxxxxx> 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>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








