...

View Full Version : what is worng with this code



newtoxml7
03-11-2009, 04:34 PM
hi,
i am new to xml.
The problem is that my data does not display when using the browser NETSCAPE.
Here is my XML file
<?xml version="1.0" ?>
<ADDRESSBOOK NAME =" ADDRESSBOOK">

<INDEX DATA ="A">
<ENTRY>
<NAME>
SAIRAM
</NAME>
<PHONE>
9849446819
</PHONE>
<CITY>
HYD
</CITY>

</ENTRY>

</INDEX>

</ADDRESSBOOK>
the display is like this
<?xml version="1.0" ?>
- <ADDRESSBOOK NAME="ADDRESSBOOK">
- <INDEX DATA="A">
- <ENTRY>
<NAME>SAIRAM</NAME>
<PHONE>9849446819</PHONE>
<CITY>HYD</CITY>
</ENTRY>
</INDEX>
</ADDRESSBOOK>
i wanted it like this
sairam9849446819 in the browser(netscape).i donot know what could be the problem can anybody help me.

fmaximum
03-12-2009, 03:33 AM
Its coming cause they both belong to different child nodes. Can you please explain to me how you are fetching this XML data

Regards
FM

shyam
03-12-2009, 08:27 PM
try using a different browser...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum