OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Semantic Web permathread, iteration n+1 (was Re: [xml-dev]

[ Lists Home | Date Index | Thread Index ]

Joshua Allen wrote:

> scenarios.  OSAF Chandler is based on "triples", as is Longhorn's WinFS.

I am trying to get a handle on this issue. Can you post an example or 
link of WinFS XML(?) or triples? I have googled around but only find 
blog entries with no examples. Specifically, what does a 'folder' within 
a 'folder' look like? Is a page the end, or in other words is it the 
content?

For me, it is easier to represent it as a light hierarchy and pull in 
extra metadata/content when needed. I keep minimal metadata in the 
hierarchy and then more metadata/content for each node is kept in a 
separate file. The extra metadata further references the content 
assigned in a region element -- so a page is basically a 'folder' of 
content pieces (content assigned at the folder level cascades down to 
the pages in that folder). For example here is the hierarchical 
representation:

<site xmlns="http://livestoryboard.com/schemas/lsb"; generate="1" 
label="Home"
   id="demo_root" css="default.css" xsl="default" name="DEMO" 
index_page="site_ind">
   <page generate="1" id="site_ind" label="Welcome" name="Welcome.html"/>
   <folder generate="1" label="Destinations" id="f1034364271" onnav="1"
     name="Destinations" index_page="p1958461133">
     <page generate="1" id="p1958461133" label="Introduction to 
Destinations" name="destinations.html"/>
     <folder generate="1" label="Sailing" id="f611591524" onnav="1" 
name="Sailing" index_page="p1211385515">
       <page generate="1" id="p1211385515" label="Introduction to 
Sailing" name="sailing.html"/>
     </folder>
   </folder>
   <topic label="content_root" id="t339321861" xsl="topics" 
name="t339321861">
     <content label="homepromo" id="c682201793" name="tester.html"/>
     <content label="placeholder" id="c780459541" name="placeholder.html"/>
     <content label="right" id="c807589041" name="c807589041.html"/>
     <topic id="t235257654" label="Test Topic" name="TestTopic" generate="1"
       onnav="1" xsl="topics">
       <content id="c408766032" label="Article 1" name="Article1.html"
         generate="1" onnav="1"/>
     </topic>
   </topic>
</site>

And here is extra metadata from a single page above (named p1958461133.xml):

<md-page xmlns="http://livestoryboard.com/schemas/lsb";
   created="2004-03-28T09:22:57" creator="rkoberg" last_mod_by="ikoberg"
   modified="2004-05-03T09:51:54" status="editorial">
   <title>A longer title than the label</title>
   <description>All about cool sailing destinations.</description>
   <regions>
     <region name="narrowColumn">
       <content ref="c408766032"/>
     </region>
     <region name="wideColumn">
       <content ref="c780459541"/>
       <content ref="c682201793"/>
     </region>
   </regions>
   <property name="somename">some value</property>
</md-page>

best,
-Rob







 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS