[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Where is XSLT 2.0 support in PHP?

Subject: Re: Where is XSLT 2.0 support in PHP?
From: Alexander Johannesen <alexander.johannesen@xxxxxxxxx>
Date: Mon, 3 Aug 2009 08:52:23 +1000
Re:  Where is XSLT 2.0 support in PHP?
On Mon, Aug 3, 2009 at 06:19, bryan rasmussen<rasmussen.bryan@xxxxxxxxx> wrote:
> How far would you say the PHP with extensions stack can go to handle
> the functionality of XSLT 2.0 - minus XSD integration? What things are
> absolutely missing?

Well, using the DOM library in PHP, there really is nothing that you
can't do that XSLT 2.0 can do, anything from regExp and grouping to
lots of stuff that xSLT 2.0 in itself can't (and shouldn't) do. I once
did an inverse XSLT framework where program-flow was done through XML
and XSLT, and program execution was extensions, and it works quite
fast, too, even though it may not be the best way to go about things.
:)

> I suppose that even if the above is an easy task that doing something
> like enforcing side-effects free usage of the extensions would be
> basically impossible (especially given the aforementioned pragmatism
> of php and that side-effects are allowed in extensions)

Well, you probably can't guarantee that, no, but with a bit of smart
OO in the PHP layer I'm sure you can write interfaces and taxonomies
that guarantee it through *those* classes. But I reckon it's smarter
to just go Saxon (even with that PHP <-> Java bridge) as it truly
kicks ass.


Regards,

Alex
-- 
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
--- http://shelter.nu/blog/ ----------------------------------------------
------------------ http://www.google.com/profiles/alexander.johannesen ---

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.