Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with XML

Status
Not open for further replies.

newyear498

Technical User
Aug 4, 2010
1
US
this is my problem:

I need to send a url like "bobs.com/blah&stuff"

but the character & causes xml to say "expecting ;" and causes an error and I cannot pass the url

I tried putting in quotes so xml would read <url>"bobs.com/bob&stuff"</url> but I got same error..

so how can I send info over xml with the character & included?

Thanks your very much!!!
 
Either
[tt] <url>bobs.com/bob[red]&amp;[/red]stuff</url>[/tt]
or
[tt] <url>[blue]<![CDATA[[/blue]bobs.com/bob&stuff[blue]]]>[/blue]</url>[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top