Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - multy string replace >Thread Next - Re: multy string replace Re: multy string replaceTo: NULL Date: 1/18/2008 2:49:00 PM alexseys@g... wrote: > I have xml and xsl files provide below > My goal isto replace some strings in the xml whle conerting to html > I can replace one string at a time with the following anyone can help > me to replace more than that? > i.e. ** to be replaced with </BR> > and word "comment" to be replaced with a "-" That is an XSLT 2.0 stylesheet so I wonder why you do not use the XPath 2.0 replace function <URL:http://www.w3.org/TR/xquery-operators/#func-replace>. That way the problem is easily solved. Or are you looking for an XSLT 1.0 solution although your stylesheet has version="2.0" and references the XPath 2.0 function namespace? -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
