Flexcomps’s Weblog

XPath with AS3

Posted on: April 14, 2008

This post is related to the Xpath library in ActionScript3. We have used XFactor Xpath library previously in AS1 and AS2 for dealing with dynamic XML queries or searching based on some expressions.

In AS3 we can achieve most of the same features with a new support of E4X. The best article on the E4X explanation in AS3 i was able to find is one by Roger Braunstein . However i was not able to find out many Xpath based AS3 examples of Google code AS3 Xpath, so i decided to make a simple prototype which is expression resolver in Flex using this library.

I have used the data from the w3schools.com Xpath example . The example is done using the Flex Builder 3.0.

The source is available for the same as well.

The Xpath in AS3

Locations of visitors to this page

4 Responses to "XPath with AS3"

Where is the Source code for the UI that you are using.

Yah, no shit. this was a waste. Speaking of which, Flash is too.

To the two dudes above. Seriously… you know that if you right click on the sample demo, there’s an option called “View Source”? At the top? 😛

Your app doesn’t use manually entered XML. It always searches through example XML. So “you can paste your XML here”, but it just no use 😦

Leave a comment

April 2008
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Blog Stats

  • 326,383 hits