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

code for inserting Data in XML file

Status
Not open for further replies.

AgentM

MIS
Jun 6, 2001
387
US
Hi,
Does anybody have code to create the following xml file.
<CODE>
<Main>
<Class>
<RooM id=1>
<windows></windows>
<Doors>/Doors>
</RooM>
<Room id=2>
<windows></windows>
<Doors>/Doors>
</Room>
</Class>
<Teacher>
<Name id=1>
<Last></Last>
<First></First>
</Name>
<Name id=2>
<Last></Last>
<First></First>
</Name>
</Teacher>
</Main>
</CODE>
I have separate subs that creates the elements for class and Teachers.
The class works but Teachers doesn't.
I can't figure how to insert the Teaches nodes in the xml document.
I am using Dom.

thank you.
 
What do you have so far? Maybe we can help you modify it and get it to work.

--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top