[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] XSLT arguments in PHP 5


Subject: RE: [xsl] XSLT arguments in PHP 5
From: "Buchcik, Kasimier" <k.buchcik@xxxxxxxxxxxx>
Date: Wed, 21 Jun 2006 18:08:43 +0200

Hi,

> -----Original Message-----
> From: Martynas Jusevicius [mailto:martynas.jusevicius@xxxxxxxxx]

> Well, I want to pass dinamically formed XML as side-documents
> for my stylesheet.
>
> In PHP4's processing function there was an option of passing such
> arguments and later accessing them through Sablotron-specific scheme
> "document('arg:/...)".

Ah. This can be made workable with Libxslt/Libxml2.

> I'm looking for an alternative in PHP5. Are saying it is not
> possible yet? :/

I don't know if it's currently possible with PHP 5. I can only
provide info about Libxml2's side. So others will be of more help here.

> Quoting Zend: "All the XML extensions now support PHP streams
> throughout, even if you try to access a stream not directly from PHP.
> <...> Basically, you can access a PHP stream everywhere where you can
> access a normal file."
> So I thought I might implement my own stream wrapper and use it with
> document(). I have no luck here though.

[...]

Cheers,

Kasimier


Current Thread
Keywords
xml