Notes:
- The original problem explanation is somewhat misleading; the @class = 'vcard' test will correctly match if the class attribute is set to vcard, but would not match if vcard is just one of several classes applied to an HTML tag.
- The Microformats wikipedia has code samples solving the same issue in multiple programming languages.
- The best function I've found so far in JavaScript world is the xGetElementsByClassName from the X library.
No comments:
Post a Comment