[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to substitute a portion of the text value of an e

Subject: How to substitute a portion of the text value of an element
From: Paul <pflists@xxxxxxxxx>
Date: Tue, 7 Oct 2008 14:28:15 -0400
 How to substitute a portion of the text value of an  e
I've got an element like this:

<box:base-file-name>C:/test10/user/server/logs/server.log</box:base-file-name>

I'd like it to look like this:

<box:base-file-name>C:/other103/user/server/logs/server.log</box:base-file-name>

I'm passing in an OLD parameter that contains "c:/test10" and a NEW
parameter that contains "c:/other103" but I'm not sure how to
substitute just the OLD portion for the NEW parameter in the value of
box:base-file-name without nuking the rest of the value which I want
to preserve.

Is it possible to just change a portion of the value?

Thanks

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.