xsl-list
[Top] [All Lists]

RE: [xsl] XSLT arguments in PHP 5

2006-06-21 04:56:00
Hi, 

-----Original Message-----
From: Martynas Jusevicius 
[mailto:martynas(_dot_)jusevicius(_at_)gmail(_dot_)com] 

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>