newToXML Posted March 24, 2008 Share Posted March 24, 2008 Hi All, I want to craete a tag in my xml file like <contents entry> I am using dom parser for craeting an xml.While craeting an xml i also involved xml:space ...but it dint turned out to be useful.I wanted to use preservewhitespace(true) ..but my my object of document doesnt show the option...Please help me out of this.Thanks in advance Link to comment Share on other sites More sharing options...
Les Posted May 20, 2008 Share Posted May 20, 2008 Spaces (0x20) are illegal in XML names. Link to comment Share on other sites More sharing options...
Synook Posted May 21, 2008 Share Posted May 21, 2008 You could do <contents_entry/> or <contents><entry/></contents> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.