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

White space needed in Element name 1

Status
Not open for further replies.

suchi999

IS-IT--Management
Jun 10, 2010
1
US
Hello All,

I am newbie to XML,Here is my question.Is there a way to retain white space in element name??
For example,

<Item Type>.......</Item Type>

Thanks in advance!
 
>Is there a way to retain white space in element name??
Do not use xml technology if you want to do so. It is not xml-well-formed with space in the name. So?
 
So, to make a point about it... the next bit of text after the space will be seen as the start of an "attribute". So, that's why you can't have a space.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top