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 13:55:28 +0200
Hi,

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

> Hi,
>
> how do I pass XML arguments (*not* name/value parameters) to the XSLT
> processor that could be retrieved with document()? The processor and
> API have changed in PHP 5 and now I'm struggling to find a way. Should
> I imitate files using stream wrappers in some way? :/
>
> Thanks for any hints
>
> Martynas

I dunno if I understand correctly, so the following info might
be not very helpful:

Do you want to pass node trees as parameters into the transformation
processor? If yes, then this is currently not supported by the
underlying
Libxslt/Libxml2 library. This was asked before here some weeks ago, so
maybe it's a feature which should be made available; contact the PHP
people.

If you need a way of redirecting document() to internally stored
node trees, then this is already possible in Libxslt/Libxml2 by tweaking
its IO layer; PHP just needs to implement this.

Regards,

Kasimier

Current Thread