Strange Characters In XML

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Douglas

    #1

    Strange Characters In XML

    /r/n in XML. I can see it while debuggin. Also when you extract XML from
    dataset the extracted XML has a ns: ELEMENT with odd characters within in,
    it looks like it trying to escape the doublequotes

    <Stuff ns:\"http:www.w hatDeHeck.com"\ ><OtherStuff> </OtherStuff><Stu ff>

    I know I am doing something wrong but can't find out what the heck it is!

    Thanks!


    --

    Jim Douglas
    http:\\www.genesis-software.com

    Latitude 32.5818
    Longitude -96.5412
    Elevation 497





  • Jon Skeet [C# MVP]

    #2
    Re: Strange Characters In XML

    Jim Douglas <james.douglas@ genesis-software.com> wrote:[color=blue]
    > /r/n in XML. I can see it while debuggin. Also when you extract XML from
    > dataset the extracted XML has a ns: ELEMENT with odd characters within in,
    > it looks like it trying to escape the doublequotes
    >
    > <Stuff ns:\"http:www.w hatDeHeck.com"\ ><OtherStuff> </OtherStuff><Stu ff>
    >
    > I know I am doing something wrong but can't find out what the heck it is![/color]

    You're not doing anything wrong. The string itself doesn't have those
    characters in - it's just the debugger showing the escape so that you
    can tell what's what. Unfortunately it seems to confuse as many people
    as it helps :(

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    Working...