[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: replacing of characters based on position
On Tue, Nov 16, 2010 at 2:58 PM, ram <ram_kurra@xxxxxxxxxxx> wrote: > step2:550e84000e29b041d40a7160446655440000 to > 550e8400-e29b-41d4-a716-446655440000 > how can i do this based on position number/index[9] Hermann's message shows how to do both steps (replacing dashes with zeros, and the reverse) in XSLT 1.0. If you decide you can just drop the dashes and put them back, rather than replacing them with zeros, only slight modifications would be needed, mainly to the positions (second argument) fed to the "substring" function calls. -Brandon :)
|
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
|