- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Wed, 12 Mar 2008 20:29:59 +0000
- To: "Daniel E. Renfer" <duck@kronkltd.net>
- Cc: public-rdf-in-xhtml-tf@w3.org
HI Daniel,
> Would:
>
>
> <e rel="rel:foo">
> <g about="http://x"/>
>
> <f about="http://x" property="prop:bar" content="x"/>
> </e>
>
> also work if you didn't want to nest f within g?
Yes it would.
> Is there a more efficient way to say the same thing?
Obviously a lot depends on what the mark-up is doing, independently of
the RDFa. So if <e>, <f> and <g> are representing something already in
a document (perhaps an <a> and an <img>) then you'll be constrained by
that.
But if you want to know what the minimal way of marking this up is,
one possibility is this:
<e rel="rel:foo" resource="http://x">
<f property="prop:bar" content="x"/>
</e>
and another is this:
<e rel="rel:foo">
<f about="http://x" property="prop:bar" content="x"/>
</e>
Regards,
Mark
--
Mark Birbeck
mark.birbeck@x-port.net | +44 (0) 20 7689 9232
http://www.x-port.net | http://internet-apps.blogspot.com
x-port.net Ltd. is registered in England and Wales, number 03730711
The registered office is at:
2nd Floor
Titchfield House
69-85 Tabernacle Street
London
EC2A 4RR
Received on Wednesday, 12 March 2008 20:30:15 UTC