[microformats-discuss] Parsing and class names

Bud Gibson bud at thecommunityengine.com
Sun Oct 16 04:33:12 PDT 2005


Parsing with multiple classes is not a big deal.

In XSLT 1.0, it is a bit of a problem because XPath does not provide  
an easy way to pick attribute values out of a space delimited list.   
XPath 2.0 (not very supported yet) provides regular expression  
support that can overcome this.

We have a javascript parser for xFolk that uses regular expressions  
along with DOM walking to parse xFolk entries.  It works on sites  
that have multiple classes like http://de.lirio.us.  The script is here:

http://thecommunityengine.com/resources/xfolk-veg-o-matic.user.js

Bud

On Oct 16, 2005, at 2:36, Luke Arno wrote:

> Others,
>
> Does anyone else have any comments on their experiences parsing
> microformats
>
> Your accounts will help the WG decide how to proceed.
>
> Thanks much.
>



More information about the microformats-discuss mailing list