optional use of xsl stylesheet

Kandice61

New Member
I have xml files which make use of an XSL stylesheet to format it when view in a web browser. I save the xml files in a central location, a shared drive which any of my colleagues can access. If they open an XML file directly from the shared location, it renders correctly, however sometimes they take a copy of the XML, and only the XML file that they need. when they view the file in a browser it fails to locate the XSL stylesheet and hence doesn't render. Is there a way to say if the xsl stylesheet is available, make use of it, if not then simply ignore using the stylesheet and display the xml file as if there were not stylesheet. Basically this would mean no error would be seen when a local copy is taken. Can this be done
 
Back
Top