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:
(/[EMAIL PROTECTED]|/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" <[EMAIL PROTECTED]>
To: "André Bargull" <[EMAIL PROTECTED]>
Copies to: [email protected],
[EMAIL PROTECTED]
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/[EMAIL PROTECTED] > 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/[EMAIL PROTECTED] > 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