Re: Initial draft for the GRDDL Scenario gallery (W3C tech reports use case)

On Thu, 2006-08-10 at 19:46 +0200, Fabien Gandon wrote:
> Dan Connolly a écrit :
> > A minor detail: the norm around W3C is to call
> > this a "use cases" document rather than a "scenario gallery".
> 
> Done and the new version is XHTML 1.1 valid in case we want to GRDDL it ;-)

;-)

but seriously... this is actually another use case: the W3C
digital library. http://www.w3.org/2002/01/tr-automation/

There actually is a bit of RDF data about each W3C tech report,
generated from the XHTML by XSLT. Ah... I found it:

 http://www.w3.org/2001/10/trdoc2rdf.xslt


Darn; I can't use the --novalid option of xsltproc because
you use an   . I recommend you use   so that
your document is standalone XML and doesn't rely on the DTD.

Anyway...

xsltproc complains a little bit because it can't find
the editor's name...

runtime error: file http://www.w3.org/2001/10/trdoc2rdf.xslt line 311
element if
unregistered variable EditorName
XPath error : Invalid type
xmlXPathCompiledEval: 1 object left on the stack

But then does deliver some RDF:

<?xml version="1.0"?>
<?xml-stylesheet
      href="http://www.w3.org/2002/08/tr-rdf-style.css" type="text/css"
    ?><!--Produced by $Id: trdoc2rdf.xslt,v 1.87 2006/06/07 13:38:42 dom
Exp $-->
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.w3.org/2001/02pd/rec54#"
xmlns:org="http://www.w3.org/2001/04/roadmap/org#"
xmlns:rec="http://www.w3.org/2001/02pd/rec54#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:doc="http://www.w3.org/2000/10/swap/pim/doc#">
  <WD rdf:about="">
    <dc:date>2005-08-10</dc:date>
    <dc:title>GRDDL Scenario Gallery</dc:title>
    <doc:versionOf rdf:resource=""/>
    <org:deliveredBy
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
rdf:parseType="Resource">
      <contact:homePage
rdf:resource="http://www.w3.org/2001/sw/grddl-wg/"/>
    </org:deliveredBy>
  </WD>
</rdf:RDF>


> Fabien.
> 
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Thursday, 10 August 2006 18:00:31 UTC