C
clowtown
I have been having trouble parsing this string.
<UserValue value="John O"Hare
101 N. Main St"
title="ConsumedText"></UserValue>
The " is being parsed correctly, but the 
 is being converted
into a space instead of a linefeed/newline. The newline is crutial to
formatting in the application.
I have been searching for a couple days now and tried many different
methods and have not been able to get the parser to stop converting
this character set into a single space. I believe the issue is
occurring because it is an attribute value and not text in the node.
Please do not critique the format of the xml, as I know it is
undesireable. I am just trying to implement a short term solution.
I should also mention that searching the xml file before parsing is
not feasible.
Tech being used: JRE 1.4.2.10, Xerces DOMParser
Thanks in advance for any advice.
--Clowtown
<UserValue value="John O"Hare
101 N. Main St"
title="ConsumedText"></UserValue>
The " is being parsed correctly, but the 
 is being converted
into a space instead of a linefeed/newline. The newline is crutial to
formatting in the application.
I have been searching for a couple days now and tried many different
methods and have not been able to get the parser to stop converting
this character set into a single space. I believe the issue is
occurring because it is an attribute value and not text in the node.
Please do not critique the format of the xml, as I know it is
undesireable. I am just trying to implement a short term solution.
I should also mention that searching the xml file before parsing is
not feasible.
Tech being used: JRE 1.4.2.10, Xerces DOMParser
Thanks in advance for any advice.
--Clowtown