hi all
i made a xml file as following. i want to make 1 input field for user. It lets you enter the xml file name (with Get button), as many field or element names from the xml file as you want (with the Add button), and then constructs the HTML table that accesses those elements of the xml file. so could anyone show me an example on it? thanks so much.
<?xml version=”1.0″ ?>
<!DOCTYPE CATALOG SYSTEM “lab.dtd”>
<body>
<employee>
<ID>222</ID>
<SSN>234-57-2736</SSN>
<salary>$45,000</salary>
<name>Betty</name>
</employee>
<employee>
<ID>321</ID>
<SSN>12-32-2234</SSN>
<salary>$48,000</salary>
<name>Nick</name>
</employee>
<employee>
<ID>124</ID>
<SSN>267-56-0978</SSN>
<salary>$55,000</salary>
<name>Mike</name>
</employee>
<employee>
<ID>475</ID>
<SSN>789-34-3456</SSN>
<salary>$75,000</salary>
<name>John</name>
</employee>
<employee>
<ID>222</ID>
<SSN>167-07-3467</SSN>
<salary>$55,000</salary>
<name>Kenny</name>
</employee>
</body>