11-04-2008 02:37 AM
Can anyone tellme how to add attribute to the xml tag?
my code below
Element child1 = document.createElement("MainInfo");
Text Textval1 = document.createTextNode("Welcome");
But i am not getting data in the xml
11-04-2008 08:02 AM
[adscasdc a???? this editor is all screwed uip?????? 10 minutes later...... ]
How did you convert the dom into the xml file? I'm asking just to make sure the problem is reasonably isolated to the code you cite but also curious. I haven't tried to write a DOM and data that is in another format was just
eas easy to write with string commands.
I'm also in the middle of a proof of concept location based app where I have a lot of point-of-interest up/download
and am debating about XML versus simple text( space delimited entries on a single line). Right now our server supports both formats but I'm not sure which makes more sense on the phone. I hate xml verbosity for BW, but a fixed unlabelled format does create various problems.