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

XML into Dreamweaver Template

Status
Not open for further replies.

flaviooooo

Programmer
Feb 24, 2003
496
FR
Yo everybody,

A newbie question concerning XML and dreamweaver:

I have a template file that i'd like to fill with data in an XML file. If the XML file contains only 1 record, I can get it to show on the template. But how do I go about if the XML file has several records? Each record has an unique number. Is there a way to send the unique number to the page, so that that record is shown on the screen? I hope you're still with me.

Basically the XML file is like this:
<?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
<templatename template=&quot;/Templates/leegbio.dwt&quot;>
<spelers>
<ID>1</ID>
<naam>Abbruzzese</naam>
<firstnaam>Tim</firstnaam>
</spelers>
<spelers>
<ID>2</ID>
<naam>Vangeel</naam>
<firstnaam>Flavio</firstnaam>
</spelers>
</templatename>

Now when I press the link for Flavio Vangeel, it should send the data of ID 2 to the webpage

Greetz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top