Skip to content

trakos/actionscript-xml-css-selectors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

actionscript-xml-css-selectors

Automatically exported from code.google.com/p/actionscript-xml-css-selectors

Library for quering html in ActionScript 3 using css selectors, for example:

var value:String = html.cssQuery("#entry_form input[name=id]").xml.attribute("value");

Based on cssQuery for javascript: http://dean.edwards.name/my/cssQuery/ , luckily it was lGPL. Rewriten for AS3 with usage of of E4X.

Note: It has nothing to do with CSS styles, only CSS selectors for filtering, e.g. "#id > .class".

Limitations: it does not support namespaces, :not, :nth-child (only for numbers, but no equations) and it shows only distinct results.

It is possible to parse any XML (not limited to XHTML).

See also:

About

Automatically exported from code.google.com/p/actionscript-xml-css-selectors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published