Discussions

XML & Web services: XML problem

  1. XML problem (2 messages)

    Hi, everyone,

    If I want to get some special characters like newline, return in both element and attribute, How can I do?

    Threaded Messages (2)

  2. XML problem[ Go to top ]

    What are you talking about? Using the DOM API? SAX? Writing raw XML?

    Gal
  3. XML problem[ Go to top ]

    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!