[microformats-discuss] Parsing and class names

Bud Gibson bud at thecommunityengine.com
Sun Oct 16 13:37:25 PDT 2005


This is quite elegant and nice allowing you to make good use of XPath  
1.0.  Wow!
On Oct 16, 2005, at 15:39, Mark Pilgrim wrote:

> This is a line of code from my hCard parser,
> http://diveintomark.org/projects/greasemonkey/hcard/hcard.user.js :
>
> var xpath = ".//" + sPrefix + "*[contains(concat(' ',
> normalize-space(@class) ,' '), ' " + sProperty + " ')]";
>



More information about the microformats-discuss mailing list