[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Semantic Web permathread, iteration n+1 (was Re:


livestoryboard
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




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.