Hello there, this is a newbie question.
I have got a set of data that shows the department hierarchy. In VB I have treeview control that shows this nicely, but now we want it in ASP, so someone suggested XML!
I have created an XML file, that I fails when you try to view it in IE and not sure what to do.
<?xml version='1.0' encoding='ISO-8859-1'?>
<USER>
<MANAGERID>
0
</MANAGERID>
<ID>
1
</ID>
<NAME>
User A
</NAME>
</USER>
<USER>
<MANAGERID>
1
</MANAGERID>
<ID>
2
</ID>
<NAME>
User B
</NAME>
</USER>
<USER>
<MANAGERID>
1
</MANAGERID>
<ID>
3
</ID>
<NAME>
User C
</NAME>
</USER>
Am I doing this right? Can anyone help me?
Thanks
I have got a set of data that shows the department hierarchy. In VB I have treeview control that shows this nicely, but now we want it in ASP, so someone suggested XML!
I have created an XML file, that I fails when you try to view it in IE and not sure what to do.
<?xml version='1.0' encoding='ISO-8859-1'?>
<USER>
<MANAGERID>
0
</MANAGERID>
<ID>
1
</ID>
<NAME>
User A
</NAME>
</USER>
<USER>
<MANAGERID>
1
</MANAGERID>
<ID>
2
</ID>
<NAME>
User B
</NAME>
</USER>
<USER>
<MANAGERID>
1
</MANAGERID>
<ID>
3
</ID>
<NAME>
User C
</NAME>
</USER>
Am I doing this right? Can anyone help me?
Thanks