This is a discussion on Preserve all whitespace characters BUT for carriage returns - XML SOAP ; Hi, My platform is Win 2000, and I'm using msxml3.dll for my VB app. I have an XML document containing several nodes to store text information. Since I wanted to preserve all spaces and tabs, I set the preserveWhiteSpace property ...
Hi,
My platform is Win 2000, and I'm using msxml3.dll for my VB app.
I have an XML document containing several nodes to store text
information.
Since I wanted to preserve all spaces and tabs, I set the
preserveWhiteSpace property of the XML object to True. However, I
noticed that extra nodes with blank strings got appended in my XML tree
(due to the carriage returns I guess).
Is there any way to preserve only the spaces and tabs?
I tried creating an XSL stylesheet with the following statement:
<xsl:strip-space elements='" & vbCrLf & "'/>, but that doesn't help
either.
Any help will be greatly appreciated.
Thanks,
Shankar