[Laszlo-user] xpath parser for javascript
André Bargull
a.bargull at intensis.de
Wed Apr 9 03:18:40 PDT 2008
Short update from me:
Right now I'm converting xpathjs ("http://mcc.id.au/xpathjs"), so it'll
become OpenLaszlo-compatible.
At the moment, XPaths like this one are already working:
> (/test[@data=20]|/test[starts-with(text(), "Hello")])/text()
So stay tuned!
- André
On 4/7/2008 1:38 PM, DL wrote:
> On 1 Apr 2008 at 20:00, Camilo Aguilar wrote:
>
> Date sent: Tue, 1 Apr 2008 20:00:51 -0500
> From: "Camilo Aguilar" <camilo.aguilar at gmail.com>
> To: "André Bargull" <a.bargull at intensis.de>
> Copies to: laszlo-user at openlaszlo.org,
> laszlo-dev at openlaszlo.org
> Subject: Re: [Laszlo-user] xpath parser for
> javascript
>
> > Thanks André for your answer.
> >
> > It would be great if we had support in laszlo for some additional
> > functions of xpath at least. Functions like starts-with, ends-with,
> > contains, matches, replace and number expressions like
> > /bookstore/book[@price > 300]/@title.
> >
> > What is the state of this in Laszlo ? Some developer of laszlosystems
> > or openlaszlo is actually working for add better xpath support ?
> >
> > Best Regards,
> >
> > Camilo Aguilar
>
>
> On 1 Apr 2008 at 20:00, Camilo Aguilar wrote:
>
> > Thanks André for your answer.
> >
> > It would be great if we had support in laszlo for some additional
> > functions of xpath at least. Functions like starts-with, ends-with,
> > contains, matches, replace and number expressions like
> > /bookstore/book[@price > 300]/@title.
> >
> > What is the state of this in Laszlo ? Some developer of laszlosystems
> > or openlaszlo is actually working for add better xpath support ?
> >
> > Best Regards,
> >
> > Camilo Aguilar
>
>
> Instead of using javascript, have you considered using eXist as a
> native backend XML database?
>
> _http://exist.sourceforge.net/_
>
> It is XQuery 1.0 / XPath 2.0 compatible.
>
> There is an old tutorial in the OpenLaszlo forum explaining how to
> connect OpenLaszlo client to eXist database.
>
> Try out the eXist sandbox first .....
>
> _http://demo.exist-db.org/sandbox/sandbox.xql_
>
> returns to OpenLaszlo are all XML format.
>
> d~l
>
>
More information about the Laszlo-user
mailing list