Hi, in the Java Xalan XSLT processor there is an URIResolver object to resolve URIs used in xsl:include, xsl:import, etc. http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/class-use/URIResolver.html With this URIResolver you can comfortably implement your own logic to load external resources. A small example how it works in Java, so maybe my problem is easier to understand: TransformerFactory.newInstance().setURIResolver( new URIResolver() { public Source resolve(String href, String base) { // all included files are relative to c:\temp return new StreamSource( new File ("c:\\temp\\"+href)); } }); and so statements like: <xsl:include href="include.xsl"/> will include c:\temp\include.xsl Now my problem is, that i need this functionality in PHP´s XSLTProcessor. Generally I think libxslt already supports the same functionality with the xsltDocLoaderFunc: http://xmlsoft.org/XSLT/html/libxslt-documents.html#XSLTDOCLOADERFUNC anyone have an idea how to handle that problem? thanks a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php