Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: replace line feeds with

From: Peter Flynn <peter.nosp@-.--------.-->
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/


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent