This is some additional information requested by my partner on this project,
Dong Cheng.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In http://www.gingerall.com/ga/Sablot-0-51.html
6.3 URIs
Sablotron can handle two URI schemes natively: 'file' and 'arg' (see below).
In http://www.gingerall.com/charlie-bin/get/webGA/act/xml-sab.act
Process
$result_uri
is a URI of destination buffer. Currently, the arg: scheme is supported
only.
My question is does xml-sablotron-0.51 (perl module) support 'file' or not?
If it is supported, how to use it and where to find documentation.
Regards,
Dong
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 13 March 2001 10:30 AM
To: Sablotron Mailing List
Subject: RE: [Sab] xsl:include
On Tue, 13 Mar 2001, Tim Watts wrote:
> We are creating the xml in perl which is then passed to the Sab parser
along
> with an xsl file to be parsed.
>
> The situation is then that :
>
> "xsl:include" which are contained in the xsl are meant to include the
> external file.
>
> Sab processes the "string", not the file.
> Sab can only process one string, not the file, so you can't have one
string
> containing "xsl:include" for another string in another file.
> ie process (xml, xsl) means that the xsl can only be one string and cannot
> contain refernces to other strings
> You can't even reference another string by using the documet() command.
> Previously we have been doing this successfully using XT and also Xalan
> Can anyone give some advice on how to acheive this?
If you know the strings beforehand you can pass it in to Sablotron using
the arg: scheme. If you don't know the string beforehand you can use a
scheme handler (see the docs for SHGetAll), and a custom scheme
(e.g. AxKit sets the base to axkit:/path/to/file, so that we know when
requests are for relative URIs in SHGetAll).
At least I think that's what you want to achieve, if I understood your
question right.
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\