[uf-discuss] Automatic conversion of XML to microformat and vice
versa; recommendation for handling XML attributes?
David Janes
davidjanes at blogmatrix.com
Sun Aug 27 08:50:25 PDT 2006
And in particular, have a look at XOXO Rest Datatypes [1]. There's
probably more work that could be done here to model typed values (i.e.
"12000 meters") amongst other things; maybe you're the right person
;-)
Regards, etc...
David
[1] http://microformats.org/wiki/rest/datatypes
On 8/27/06, Brian Suda <brian.suda at gmail.com> wrote:
> On 8/27/06, Costello, Roger L. <costello at mitre.org> wrote:
>
> > Microformat newbie here, so please bear with me if my questions are
> > misguided.
>
> --- welcome Roger.
>
>
> > Question #1
> > Do you agree with using <dl> for XML leaf nodes? If not, do you
> > recommend something else?
>
> while this might work in your case, trouble appears when you have
> attibutes on those Element... how would you encode those?
>
> The XOXO microformat (http://microformats.org/wiki/xoxo) allows for
> this sort of encoding. You could tweak it slighty so you get class
> attribute values which you could then style. XOXO uses OL lists, with
> DL lists for attributes and should solve your problems, i would
> suggest reading-up on that and if there are still problems let us
> know.
>
> There are also several implementations of how to internalize a XOXO
> list into a PHP, Python,Ruby,etc. array. Sort of an HTML JSON.
>
> -brian
>
> --
> brian suda
> http://suda.co.uk
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
More information about the microformats-discuss
mailing list