flaviooooo
Programmer
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="1.0" encoding="UTF-8"?>
<templatename template="/Templates/leegbio.dwt">
<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
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="1.0" encoding="UTF-8"?>
<templatename template="/Templates/leegbio.dwt">
<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