Re: package proposal: XSLT_Wrapper
| From: | Pierre-Alain Joye | Date: | Wed, 25 Sep 2002 21:49:20 +0000 |
| Subject: | Re: package proposal: XSLT_Wrapper | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9517@lists.php.net to get a copy of this message | ||
On Wed, 25 Sep 2002 23:37:08 +0200 (CEST)
Christian Stocker <chregu@bitflux.ch> wrote:
> Hi
>
> +1 from me too.
>
> I just miss
>
> PEAR_XSLT_MODE_DOM
>
> as the dom/xslt extension can handle domxml dom trees directly and it
> makes no sense to serialize a domtree to a string and then parse it back
> in the wrapper backend. But i didn't look at the code, maybe you did
> already think about that :) For other extensions, which do not understand
> DOM trees, there's alwys the possibility to serialize it.
Currently I take the xml tree from a file or from mem (variables), I ve planned to add native DOM
tree to this backend later :-) (if someone need to convert a fresh XML doc ;) ). Then it returns the
transformation or stores it to files.
I use this way while trying to create a 'transparent' XSLT api making your apps runs well
without taking care about the extensions installed or not.
There is still a lot of work to make it nice & efficient ;-)
thx,