From: Gobi M. <go...@ya...> - 2007-04-20 15:24:29
|
--- Michael Beddow <mbe...@mb...> wrote: > Gobi Manchurian wrote: > > > > I used to use the eXist, PHP and XSLT combination > with > > PHP4 and exist 0.9. I used to retrieve queries > from my > > xml documents, put the result through xslt and > then > > display it on a web page. With upgrades on all > fronts > > the PHP script stopped working. > > I'm sure you could get it all to work as before. But > I would question > whether that was worth doing. Since 0.9 eXist has > gained a much more > powerful and reliable REST interface plus XQuery > extensions that allow > results to be passed through XSLT transforms (more > than one of them and at > more than stage in the processing chain if you need > to) from within XQuery. > Not to mention that XQuery can itself write XML or > XHTML output using its > own node construction facilities, making some uses > of XSLT redundant anyway. > > > I have looked at query-exist as well as PHP5: > > XML_DB_eXist. > > Both of these have satisfied users, but they are not > supported by the eXist > developers, hence there is no guarantee that they > will continue to work as > eXist evolves, and you may not be able to get much > help with them here. > > The advantage of using REST and eXist's internal > XSLT extensions is that you > have an interface that is going to continue working > with any client software > that implements an http transport, and can rely on > internal access to a > stable and standard XSLT implementation without > having to invoke XSLT from > your wrapper code. So I would suggest you consider > taking that route back to > eXist rather than trying to adapt your old approach > to the newer packages. > > Michael Beddow Thanks for your valuable response Michael. Based on the past experience, I had the same hesitation regarding a PHP implementation. But I am not too familiar with REST and XQuery. I am taking a look at it. Any other suggestion or pointer is highly welcome. Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |