public marks

PUBLIC MARKS with tag cssselector

2011

XPath and Selectors are identical, and shouldn't be co-developed from Tab Atkins Jr. on 2011-11-29 (public-webapps@w3.org from October to December 2011)

by karlcow, 2 comments

Neither of these are true. The second could have been defended as true several years ago, but not today. I will defend my statement, and then make the further argument that, due to the two being identical, it is a bad idea to develop both of them.

Another bomb has been dropped. Let the fun beging. Pop Corn time.

2009

getElementsBySelector - CSS Query Selector for HTML DOM < Scripts < Python < Bin-Co

by karlcow

getElementsBySelector is a python function which takes a standard CSS style selector and returns an array of elements objects from the document that match that selector. This is a frequently used function in JavaScript - if you use a library. Its kind of meaning less to have this function in the server side - unless you are doing screen-scarping. Then its very useful. Recently, I had to work on a Django app that does a bit of screen-scrapping - so I created this function to aid me.

PUBLIC TAGS related to tag cssselector

dom +   openweb +   python +   whatwg +   xpath +  

Active users

karlcow
last mark : 29/11/2011 21:31