Hi, everyone,
If I want to get some special characters like newline, return in both element and attribute, How can I do?
-
XML problem (2 messages)
- Posted by: kingbow jb
- Posted on: November 20 2002 00:50 EST
Threaded Messages (2)
- XML problem by Gal Binyamini on November 20 2002 08:35 EST
- XML problem by kingbow jb on November 21 2002 02:07 EST
-
XML problem[ Go to top ]
- Posted by: Gal Binyamini
- Posted on: November 20 2002 08:35 EST
- in response to kingbow jb
What are you talking about? Using the DOM API? SAX? Writing raw XML?
Gal -
XML problem[ Go to top ]
- Posted by: kingbow jb
- Posted on: November 21 2002 02:07 EST
- in response to Gal Binyamini
Hi, I have a serious problem when I parse a xml element like this:
<address>'507 - 20th Ave. E.
Apt. 2A'</address>
The situation is I can't change the xml string, I use dom or sax to parse this element when there are new line and return characters in the element's content, I find both of these parsers can not correctly return the original content, which missing the return(0x0D) character when i check the return content string in hex mod, I don't know why this would happen and someone can tell me why?
thanks!