I am attempting to use the document() function in an XSL style sheet to load an XML document. I use a
string with the name of the filename as the argument to the function. The XSL file and the XML to load are in the same directory. If the XML contains a DOCTYPE element the load fails. (The XML has been validate in XML Spy prior to trying to load it.) The dtd is also in the same directory. If I comment out the DOCTYPE element, then the XML file loads without a problem. We are using the Xalan processor for our XSL transformations with in the Cocoon web framework.
Does anyone one know of any problems with the document() function in this environment?
Thanks, Russ