[PHP-DEV] Re: [php-xml] Re: [PHP-DEV] XSLT extension (fwd) From: Carl Parrish (cparrish <email protected>)
Date: 09/21/00

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 <email protected>>
To: Joey Smith <joey <email protected>>; PHP XML List
<php-xml <email protected>>
Cc: PHP Developer List <php-dev <email protected>>
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 <email protected>
> http://lists.oreillynet.com/mailman/listinfo/php-xml

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>