-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Why not using the axkit-uris who simply create an internal request ? Did you by chance took a look at my Apache-AxKit-Provider-RDBMS (see http://search.cpan.org/~tomson/) which provides you with caching although there's at the moment only implemented one database-adapter (SQLLite) and one somewhere in the mail-archives for mysql.
Tom Mike Trotman schrieb: | I have written an XML content provider from a database to start the | AxKit processing chain. | | This works from a virtual Apache Location, so I also have: | SetHandler perl-script | PerlHandler AxKit | | When I process the output from this content provider in XSLT I also need | to include other XML files from the same database. | For this I use the XSLT 'document' function. | e.g. <xsl:variable name='XIDX' | select='document($PARENTDOC,/)/XMLTABS/SECTIONS/SECTION[1]/TABLES'/> | | However - the context for any document is the Apache DocumentRoot - | rather than the URL from the original request. | | How can I set the XSLT document(...,/)' to use the original URL prefix | as the context for the external document request? | | At the moment I have to hardwire the server name and location path into | the code - which is not very portable. | | Any help appreciated. | | | Mike | | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCkXbLkVPeOFLgZFIRAoGqAJ9RJau8ZHSBBV8iJPx8IqhpbAE38ACdHEBq ku3IB+ElrOlOucYewr5qGmc= =mZd8 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
