I'm very new to php, so bear with me. I'm trying to use a variable from a querystring but I'm having trouble. The querystring is:
<a href="gallery3.php?galleryid='greydisplay'">
and the code is:
$gallery = $_GET['galleryid');
Problem is if I print that retrieved value ( i.e print $gallery;)...
I'm having trouble getting this to work. I get the error:
msxml3.dll (0x80004005)
The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.
and it points to the line:
xslt.stylesheet = xslDoc
Confusing because the xsl...
Thanks Jon,
That worked a treat.
I was wondering whether you (or anyone) knew if it's possible to pass in a variable to the xsl (from ASP)?. What I'd like is the name of the gallery (in the above case = 'greydisplay') to be dynamic.
Ben
Hi,
I'm having trouble displaying a select bit of data from my xml in html.
the xml is a load of galleries, each containing paintings:
<galleries>
<gallery name="greydisplay">
<painting>
<photo>/paintings/kitchen.jpg</photo>
<title>Table Under Window</title>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.