Results 1 to 4 of 4

Thread: Store <# chars in XML?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Store <# chars in XML?

    is it possible to store <# characters in xml for a node? I know that these maybe invalid characters for XML (makes it unreadable) but is there a way of doing this so it can read the xml correctly? Perhaps what I am doing is incorrect, I dont know.

    <myNode>hi <#fieldname#></myNode>

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  2. #2
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: Store <# chars in XML?

    Replace < with &lt;
    > is legal in an XML node, but it's still probably good to replace it with &gt;

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Store <# chars in XML?

    # should be legal, are you having a problem with #?

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: Store <# chars in XML?

    yeh i did. I'll give the suggestion a shot, perhaps that was conflicting the #.

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width