Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: multy string replace >Thread Next - Re: multy string replace Re: multy string replaceTo: NULL Date: 1/18/2008 9:14:00 AM On Jan 18, 8:49 am, Martin Honnen <mahotr...@yahoo.de> wrote: > alexs...@gmail.com 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/ Well you are talking to complete novice in xml/xsl that took some examples slaped it toghether in hope it works, it does for the most part but got to get rid of that commant word that screws up IE. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
