jayseventwo
05-08-2007, 01:01 AM
Hi there,
I am relatively new to XML and wanted to ask a question: can XML variables be passed through a URL (at all, and if so, within an offline project)?
I am creating an offline CD-ROM that will have its contents updated every month. At this point i will have to individually create each product XHTML page (that includes product description etc). This is linked from a menu page containing the product name (clicking the product name goes to the product description page etc).
I want to put all these products (including name, description, whatever else etc) into an XML file.
I currently have a dynamic XML list displaying all the product names (within an XSLT template), but i want to turn these product names into links that will take you to either another page - or be displayed within the current page - that then displays other info such as product description etc.
Im presuming this means i have to pass an XML variable (such as the product name) through the URL, but am unsure how to do it and how to display the dynamic information (current thinking was through a URL variable to a DIV tag, but not sure).
Can this actually be done, and if so, whats the simplest way of doing it?
Cheers in advance for any reply.
I am relatively new to XML and wanted to ask a question: can XML variables be passed through a URL (at all, and if so, within an offline project)?
I am creating an offline CD-ROM that will have its contents updated every month. At this point i will have to individually create each product XHTML page (that includes product description etc). This is linked from a menu page containing the product name (clicking the product name goes to the product description page etc).
I want to put all these products (including name, description, whatever else etc) into an XML file.
I currently have a dynamic XML list displaying all the product names (within an XSLT template), but i want to turn these product names into links that will take you to either another page - or be displayed within the current page - that then displays other info such as product description etc.
Im presuming this means i have to pass an XML variable (such as the product name) through the URL, but am unsure how to do it and how to display the dynamic information (current thinking was through a URL variable to a DIV tag, but not sure).
Can this actually be done, and if so, whats the simplest way of doing it?
Cheers in advance for any reply.