Re: [php-xml] Re: [PHP-DEV] XSLT extension (fwd)
| From: | Carl Parrish | Date: | Thu, 21 Sep 2000 23:12:54 +0000 |
| Subject: | Re: [php-xml] Re: [PHP-DEV] XSLT extension (fwd) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-33593@lists.php.net to get a copy of this message | ||
Can someone please point me to where I can find information on either Xalan
or Sablotron?
Thanks,
Carl Parrish
Webmaster
Datasoft.com
----- Original Message -----
From: Sterling Hughes <sterling@php.net>
To: Joey Smith <joey@joeysmith.com>; PHP XML List
<php-xml@lists.oreillynet.com>
Cc: PHP Developer List <php-dev@lists.php.net>
Sent: Thursday, September 07, 2000 11:36 AM
Subject: [php-xml] Re: [PHP-DEV] XSLT extension (fwd)
>
> > Just thought some of the folks over on the php-xml list might have some
> > input here.
> >
> > So far the general consensus appears to be:
> > Sablotron is not 100% conformant, but there are equal concerns regarding
> > the stability of Xalan.
> >
>
> Those things are going to change. Xalan-C++ is going to come out of
Alpha,
> Sablotron is also going to fully support the XSL specification (to be
accurate,
> Xalan-C++ doesn't fully support it yet, but it is somewhat closer than
> Sablotron). Also, both projects are open source, have an active community
of
> developers, support a variety of platforms and are constantly growing...
>
> I think the main choice is between the API's and for me I'd have to choose
> Sablotron hands down (however, that's biased on two accounts, one I wrote
the
> Sablotron extension, two, I strongly dislike C++).
>
> From what I've seen of both API's, Sablotron provides the same amount of
power
> as Xalan-C++ with a simpler to use and human documented API (Javadoc
> documentation is fine, but, I prefer when documentation is written by a
human to
> the reader.) Sablotron also provides a C API which means that you don't
> necessarily need C++ to use it, whereas, Xalan-C++ is just C++.
>
> Sablotron works off of Expat, and therefore also provides SAX based XML
parsing
> features (already implemented in the PHP extension). Xalan-C++ works off
of
> Xerces-C++ and therefore offers both DOM and SAX interfaces (of course PHP
> supports libxml and Expat, so there is really no difference there).
>
> Right now, I'd stay with Sablotron (of course that's because I wrote the
> extension), it currently supports:
>
> - Full XSL transformation support, it can transform files into
variables,
> variables into files, variables into variables etc.
> - Output buffering tie-ins:
>
> <?php
> xslt_output_begintransform("somefile.xsl");
> // All output is transformed
> xslt_output_endtransform();
> ?>
> -SAX based XML parser
> -An error handling mechanism that provides descriptive errors, logging
of
> errors is also supported.
> - A full resource API
> - Full support for XSL parameters
> - You can provide named buffers for data to be transformed to and by.
>
> -Sterling
>
>
> _______________________________________________
> php-xml mailing list
> php-xml@lists.oreillynet.com
> http://lists.oreillynet.com/mailman/listinfo/php-xml