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
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 20/05/2005
Message Scanned by ClamAV on datalucid.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]