I'm trying to figure out of this is possible, and I've been unable to find a definitive answer.
I have and HTML webpage, from which I invoke an XML page with a link such as this:
<a href="http://www.kendietz.com/cascades/cascades.xml">Link</a>
The cascades.xml file has an xml-stylesheet declaration identifying an xsl stylesheet to be used. My site is a photo gallery, and, until now, this has worked great. For reference, here is my site
http://www.kendietz.com/
Now, however, I am trying something new. I am trying to incorporate a popular third party javascript gallery viewer called Lightbox Gallery (
http://lightboxgallery.snier.com/). This script uses an XML file to define the list of images, but it doesn't work if the xml-stylesheet declaration is present. I currently have it working here
http://www.kendietz.com/lightbox.html, but it is using modified versions of the original XML files.
I would like to figure out how to use the same XML file to define both the old and the new gallery views. In other words, I want to be able to call the XML file with the option of whether to use the XSL stylesheet.
My initial thought was to remove the xml-stylesheet declaration from the XML files, and specify the XSL stylesheet from the anchor tag in the HTML page. But this doesn't appear to be possible, or I haven't been able to figure out how.
Any advice would be appreciated.
Thanks,
Ken