Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: transform 0d0a to >Thread Next - Re: transform 0d0a to Re: transform 0d0a to To: NULL Date: 5/16/2008 8:58:00 AM "Joe Fawcett" <joefawcett@n...> wrote in message news:8CF2C728-96F4-4C7D-928F-BCC02FCDE2C7@m...... > > > "LJB" <postmaster@[127.0.0.1]> wrote in message > news:eTWgcAstIHA.576@T...... >> How would I translate the hex characters 0d 0a in my XML into HTML as >> <br/>? I'm using XSLT and XML4.0. I'm assuming I'd need to use the >> translate() function. >> >> thanks >> LJB >> > translate only does one-to-one mappings so you'd need a recursive template > to do this. There are many examples online, search for str:replace. > > -- > > Joe Fawcett (MVP - XML) > http://joe.fawcett.name Thanks for getting me started in the right direction. Sorry, I'm not very good at xslt. Does MSXML4.0 support exsl:node-set()? I found str:replace on the web but it requires the exsl:node-set() function. If I get that working how do I enter hex characters 0d0a in the search parameter? thanks LJB | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
