PDA

View Full Version : Improved XPath support?


bbarkley
10-26-2005, 01:08 PM
I was wondering what the situation is with expanding the xpath abilities of Laszlo. I've found the current capabilities adequate but somewhat restrictive. Expressions that can't be handled in LZX can be rewritten as methods, but it'd be nice to have the xpath support. I'm specifically missing selecting from all descendants, comparative expressions, and functions.

Are there any plans to enlarge the scope of xpath functionality that is supported? Or are things limited by Flash's capabilities somehow?

alyjeje
07-11-2008, 05:06 AM
Hi,
I've a problem with a predicate in my xpathquery :


<log4j:event logger="Dispatch.reportspace" timestamp="1208431875218" level="DEBUG" thread="http-127.0.0.1-8000-1">
<log4j:message>
<![CDATA[<ip>127.0.0.1</ip><host>127.0.0.1</host>
</log4j:message>
</log4j:event>
...
for example if i the timestamp with a value greater than 1208432579984.
I tried this :
dp.xpathQuery("reportspace:/configuration/event[@timestamp<='1208432579984']/@timestamp")

But it seems doesn't work :( so how can I do ?
thanks you for reply