[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Escaping Characters in replace()
On 15/10/2013 17:44, Nathan Tallman wrote:
Thank you, David. Unfortunately, I still get ". after processing... Presumably the template never matched. (I'm transforming XML to HML, btw.) You need \. to mean a literal . in a regular expression, not in the replacement text. > (When I inert one, my processor throws an error; so, I understand it's wrong, but not why. Also, I seem to be able to delete the backslash in front of the period in the second argument without causing problems... Why is that?) ". is a legal regex but matches a " followed by any character replace(.,'"."','."') would change "x to ." David google plus: https:/profiles.google.com/d.p.carlisle
|
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
|