[uf-discuss] How to handle empty lists ?

michel.rousset at free.fr michel.rousset at free.fr
Tue Oct 30 09:09:01 PST 2007


Hi,

I'm new to microformats.
I'm trying to use microformat style xhtml to represent some data.

Somme data are lists of items represented by an <ul> element. XHTML (HTML) do
not allow empty lists, but my data model uses empty lists.

How to deal with this :
- use an empty <span class="empty-list"> element,
- use a fake element <ul><li class="ignore" /></ul>,
- use empty list and ignore xhtml rule,
- ... ?

Thanks for your suggestions

Michel




More information about the microformats-discuss mailing list