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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colon in value 1

Status
Not open for further replies.

Craftor

Programmer
Feb 1, 2001
420
NZ
Hi all

I have the following element <name>Great Britian: London</name>. According to spec, I have to display the colon :-( and the XML parser doesn't like it. Is there any xml encoding value I can pass instead of the colon like an ampersand would be & amp? (Without the space or else it wouldn't display properly :-Q)

Thanks as always

Craftor
:cool:
 
Thanks Nick - the Ascii symbol worked great!

Craftor
:cool:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top