Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: transform 0d0a to

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 5/16/2008 6:03:00 PM

LJB wrote:

> Thanks for the additional info however I need more help. I got the 
> str:replace template from 
> http://www.exslt.org/str/functions/replace/str.replace.template.xsl.html
> 
> Here are snippets of what I have but doesn't quite work.
> 
> <xsl:stylesheet version="1.0"
>   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>   xmlns:ms="urn:schemas-microsoft-com:xslt"
>   xmlns:str="http://exslt.org/strings"
>   exclude-result-prefixes="ms">
> ...........
> <xsl:value-of select="str:replace(//DRAWING,'&#xD;&#xA;','&lt;br/&gt;')" />

I don't think the replace function will do what you want, it replaces 
text with text while you seem to want to replace text with an element (a 
br element). Sorry for not pointing that out earlier but I had not 
looked at the context of your question, just at the question on how to 
use node-set with MSXML 4.




-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


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