Re: Box model and intermediate tree.

From: Emmanuel Pietriga <Emmanuel.Pietriga_at_lri.fr>
Date: Wed, 04 May 2005 16:18:14 +0200

Chris Bizer wrote:

> -----------------------------------------------
> tree.xml could look as follows:
>

Here's the same tree with the following modifications:
- getting rid of class/type information (which does not look that
necessary as agreed this morning),
- moving URI references as XML attributes, because as opposed to the
other content it is not presentation data, but more metadata about the
element being presented, and because modeling it as an XML element
(item:uri) with #PCDATA does not solve the NS prefix binding resolution
problem and thus does not bring much.


<inter:Container class="RootContainerStlye">

<inter:Resource class="generated0001" uri="http://foo.org/EP">

   <inter:Property class="RootPropertyStlye"
                   uri="http://xmlns.com/foaf/0.1/firstName">
      <inter:label class="RootLabelCssStlye"> Firstname </inter:label>
      <inter:value class="RootValueCssStlye"> Emmanuel </inter:value>
   </inter:Property>

   <inter:Property class="RootPropertyStlye"
                   uri="http://xmlns.com/foaf/0.1/mbox">
      <inter:label class="RootLabelCssStlye"> Mailbox </inter:label>
      <inter:value class="generated0002"> emmanuel_at_irina.org</inter:value>
      <inter:content>, <inter:content>
      <inter:value class="generated0002"> emmanuel_at_w3.org </inter:value>
      <inter:content>.<inter:content>
   </inter:Property>

   <inter:Property class="generated0003"
uri="http://xmlns.com/foaf/0.1/depiction">
     <inter:value class="RootValueCssStlye">
       <image>http://example.org/id.jpg</image>
     </inter:value>
     <inter:value class="RootValueCssStlye">
       <image>http://example.org/id2.jpg</image>
     </inter:value>
   </inter:Property>

   <inter:Property class="RootPropertyStlye"
                   uri="http://xmlns.com/foaf/0.1/knows">
     <inter:label> Knows </inter:label>
     <inter:value class="RootValueCssStlye">
       <inter:Resource class="generated0001"
                       uri="http://foo.org/Chris">
         <inter:Property class="RootPropertyStlye"
                         uri="http://xmlns.com/foaf/0.1/firstName">
           <inter:label class="RootLabelCssStlye"> Firstname </inter:label>
           <inter:value class="RootValueCssStlye"> Chris </inter:value>
         </inter:Property>
       </inter:Resource>
     </inter:value>
     <inter:value>
       <inter:Resource class="generated0001"
                       uri="http://foo.org/Stefano">
         <inter:Property class="RootPropertyStlye"
                         uri="http://xmlns.com/foaf/0.1/firstName">
           <inter:label class="RootLabelCssStlye"> Firstname </inter:label>
           <inter:value class="RootValueCssStlye"> Stefano </inter:value>
         </inter:Property>
       </inter:Resource>
     </inter:value>
   </inter:Property>

</inter:Resource>

</inter:Container>




-- 
Emmanuel Pietriga
INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
91405 ORSAY Cedex            http://www.lri.fr/~pietriga
Received on Wed May 04 2005 - 14:19:07 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT