in reply to Re: Re: Re: Re: Why XSLT and not just Perl?
in thread Why XSLT and not just Perl?

Directly as a DOM tree or something less prosaic like a collection of SAX events or an infoset?

  • Comment on Re: Re: Re: Re: Re: Why XSLT and not just Perl?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Why XSLT and not just Perl?
by gellyfish (Monsignor) on Jun 17, 2003 at 10:26 UTC

    Whilst it is far from an ideal example XML::XSLT uses an XML::DOM object underneath. In processing XSLT it is often necessary to access nodes in a random order and having the whole parsed tree in memory makes this easier.

    /J\
    
Re: Re: Re: Re: Re: Re: Why XSLT and not just Perl?
by mirod (Canon) on Jun 17, 2003 at 04:18 UTC

    Whatever format the XSLT processor uses it is still a full tree, no necessarily exactly a DOM tree, but necessarily something conceptually equivalent.