I've had a look at the other AxKit providers.

This Content Provider of mine is for Sleepycat DbXML,
and the other documents are accessed from an XSLT stylesheet
- which is also used in other applications and for command line testing
- so is non-AxKit specific.

Any other help appreciated.


Mike


Tom Schindl wrote:

-----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-----

Message Scanned by ClamAV on datalucid.com




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 22/05/2005


Message Scanned by ClamAV on datalucid.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to