![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - replace line feeds with [Thread Next] Re: replace line feeds with To: NULL Date: 8/14/2006 11:13:00 PM Chris wrote: > I have xml that contains char 13's that I need to translate into <br/> tags > in my xsl. > > I have looked at the translate() function which didn't because it was a 1 > character to 1 character replacement. > Then I came across an example that used xsl:analyze-string but that does not > seem to be available in MS stuff. > > Anyone have a good technique for this that they can share? The normal method is to write a recursive named template that outputs <br/> for each CR it encounters. ///Peter -- XML FAQ: http://xml.silmaril.ie/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
