Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: transform 0d0a to

From: "LJB" <postmaster@[---.-.-.-]>
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 




transparent
Print
Mail
Like It
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