[uf-dev] nested @class="value" properties
Brian Suda
brian.suda at gmail.com
Thu Feb 1 10:27:39 PST 2007
On 2/1/07, Ryan King <ryan at technorati.com> wrote:
> On Jan 31, 2007, at 6:32 PM, Derrick Lyndon Pallas wrote:
>
> > I asked about this in IRC today and Tantek asked me to send an
> > email to the list. The question is: is @class="value" recursive.
> > For instance,
> >
> > <div class="property">
> > <span class="type">type</span>
> > <span class="value">
> > <span class="value">foo</span>
> > quux
> > <span class="value">bar</span>
> > </span>
> > </div>
> >
> > In this example, is the value of property "foo quux bar" or just
> > "foo bar"? Personally, I would expect it to be "foo bar" because
> > that's what I'd expect from the following fragment:
>
> See, I would expect it to bee "foo quux bar", because all three are
> text nodes of a node that has @class="value".
I would actually expect 'foo quux barfoobar' it would find the first
value="foo quux bar" and then append the next two values "foo quux
barfoobar" to the string.
-brian
--
brian suda
http://suda.co.uk
More information about the microformats-dev
mailing list