Re: [xslt] libxslt and xslt document( ) function

On Wed, Sep 19, 2007 at 11:23:22PM +0530, Senthil Nathan wrote:
>    Hi,
>    I'm rephrasing my previous post reg. merging xml's using merge.xslt.
>    How  do  I  pass a DOM tree pointer, which I get after parsing the xml
>    file,
>    to  the  XSLT document( ) function. Any idea of this will be very much
>    helpful to me.

  You can't, that's not how document() was intended to be used. The best you
can do is plug at the I/O layer of libxmnl2 (please see the docs online),
but that doesn't take a parsed document input but the serialized byte stream.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]