asp / db til xml
Har denne xml fil som danner baggrund for visning af en flash fil<?xml version="1.0" encoding="iso-8859-1"?>
<ads>
<ad image="images/aug07.jpg" link="http://localhost/projekter/www/index.asp?Menu=49&Template=indhold" target="_parent"/>
<ad image="images/rating_system_590x175.jpg" link="http://localhost/projekter/www/index.asp?Menu=49&Template=indhold" target="_parent"/>
<ad image="images/photo_gallery_590x175.jpg" link="/products/flash_photo_gallery/"/>
<ad image="images/micro_menu_590x175.jpg" link="/products/micro_menu/"/>
<ad image="images/targa_menu_590x175.jpg"/>
</ads>
<options>
<option display_seconds="4" autoplay="true" fade_seconds="1" show_pause_button="true"/>
<option buttons_alpha="40" buttons_rollover_alpha="80" buttons_space="-1" buttons_margin="5"/>
<option show_time_bar="true" time_bar_alpha="100" time_bar_color="CCFF00"/>
</options>
Nu vil jeg gerne " gøre denne del dynamisk " - altså kunne udfylde
disse felter på baggrund af indhold fra en db
<ads>
<ad image="images/aug07.jpg" link="http://localhost/projekter/www/index.asp?Menu=49&Template=indhold" target="_parent"/>
<ad image="images/rating_system_590x175.jpg" link="http://localhost/projekter/www/index.asp?Menu=49&Template=indhold" target="_parent"/>
<ad image="images/photo_gallery_590x175.jpg" link="/products/flash_photo_gallery/"/>
<ad image="images/micro_menu_590x175.jpg" link="/products/micro_menu/"/>
<ad image="images/targa_menu_590x175.jpg"/>
</ads>