Categories

PullXML renamed to PushXML, hosted on Google Code

As the API for PushXML is definitely not a pull API (it is based on a callback instead), I’ve renamed PullXML to PushXML.

I have also decided to host this small project on Google Code, so that I can have a public Subversion repository, issue tracking and so on.

Here is the link to the project and here is a direct link to the latest version of PushXML.

View Comments à to “PullXML renamed to PushXML, hosted on Google Code”

  • marina:

    Hello,
    PushXML looks really nice, but it looks like only simple path like « /foo/bar » can be used. Do you plan to add support for more complex xpath queries ? I currently use simpleXML and I find that xpath support is really essential in my project !

  • Well, I’ve got not plan to support XPath for now. The purpose of the object model that PushXML builds is precisely to remove the need for XPath in most of the case : instead of /foo[1]/bar[1] you just write $root->foo[0]->bar[0] and you’re done. Of course, this doesn’t cover the cases where you want to write //bar or even //bar[@type='anyway'], but this is not something I need right now.

    I guess the best thing to do would be to implement an XPath library that would know how to navigate simple object trees, as it would be useful even in over situations. A few years ago, I wrote something similar in Java, unfortunately my time is too scarce right now for this kind of little pleasures :) .

Laisser un commentaire

blog comments powered by Disqus