By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,947 Members | 1,594 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,947 IT Pros & Developers. It's quick & easy.

Problem to create HTML table from XML file using javascript

P: 8
I am a complet newby in XML; I just want to create a table for datas coming from XML file
[HTML] <Study StudyNumber="3">
<Destination Position="D2"/>
<Source SourcePlate="P3" SourcePos="A2" sourceConc=2"/>
<Destination Position="D12"/>
<Source SourcePlate="P5" SourcePos="C1" sourceConc=3"/>
<Destination Position="D5"/>
<Source SourcePlate="P7" SourcePos="B1" sourceConc=1"/>

I have found some script for data organized like
<Destination>position D2</Destination>
<Source Pos>A2</SourcePos>
I would like to have at the end a table containing all SourcePlate;SourcePos and SourcePos
I have the script to load the file
src=" sample2.xml"
But I dont know how to populate the table


I would really appreciated any advice or idea
Jan 20 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.