Toby A Inkster wrote:
A query of <classtag:xfolk> should find documents where
"xfolk" is used in a class somewhere in the document. ~D

Though that doesn't tell you much, as the xFolk root class name is "xfolkentry". ;-)

Does it cope with multiple class names in one attribute, like class="contact vcard mine"?


Oops! You're correct, xfolkentry not xfolk.

That operator is connected to a search-only field in the index that records all classes used in documents. It works for all NMTOKENs in the class attribute. For what it's worth, there is an equivalent field called RelTag for the rel attribute.

I looked at doing RevTag but the field was mostly full of auto-generated garbage. There were too few common revs and too many meaningless ones, which meant it was too big to justify its uselessness.

~D

_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to