hi guys
im fairly new to xml so bear with me if this is a newbie question. I have an xml file
and I'd like to retrieve the price from our sql database - but when I try to insert asp code in to this xml file it errors.. is it not possible to insert asp code within an xml file?
can you insert xml code in an asp file as an alternative? or is there a way to insert an asp file in to an xml file as an include??
please advise
thanks
im fairly new to xml so bear with me if this is a newbie question. I have an xml file
Code:
<?xml version="1.0" encoding="utf-8" ?> <promos> <flight type="OW"> <url></url> <departure>Gatwick</departure> <destination>TORONTO</destination> <departuredate year="2010" month="5" day="27, 28"/> <price>139</price> <currencycode>£</currencycode> </flight> <flight type="OW"> <url></url> <departure>Gatwick</departure> <destination>Vancouver</destination> <departuredate year="2010" month="5" day="7, 8, 9"/> <price>149</price> <currencycode>£</currencycode> </flight> </promos>
can you insert xml code in an asp file as an alternative? or is there a way to insert an asp file in to an xml file as an include??
please advise
thanks
Comment