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

Re: looking for the / char

Subject: Re: looking for the / char
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 4 Feb 2001 17:15:49 GMT
Re:  looking for the / char
> fine.... however it wont replace the /.... Im not sure why

because having found a space you output the string up to that point without
change, which means that any / before the first space gets into the
output.
You then recurse looking for spaces and so do the same for teh next /.

You can't do two replacements at once like that, make a replace-string
template (or get one from the archives of this list) then in an outer
call that replaces spaces, make an inner call to replace /
on the string found before the current space.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.