W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > June 2005

xhtml-as-rdf

From: Danny Ayers <danny.ayers@gmail.com>
Date: Wed, 1 Jun 2005 13:29:56 +0200
Message-ID: <1f2ed5cd05060104291c735f63@mail.gmail.com>
To: public-rdf-in-xhtml-tf@w3.org

Just out of curiosity, has anyone played with expressing plain (X)HTML
docs in RDF? Might it be useful for anything - annotations?, editor
building? Stuff maybe like:

<body>
   <p>some text</p>
</body>

=>

xhtml:body x:hasChild _:p1 .
_:p1 rdf:type xhtml:p .
_:p1 rdf:value "some text" .
 
I don't know if there's any best practice/convention for fairly
arbitary tree containership. Combined with a Collection to preserve
doc order?  Presumably attributes would have to get
namespace-qualified equivalents.

Or would this just be a clunky version of what XPath/XPointer already offers?

(I've not really been following the XHTML 2.0 developments, maybe
that's generally more amenable to RDFization).

Cheers,
Danny.

-- 

http://dannyayers.com
Received on Wednesday, 1 June 2005 11:30:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:19 UTC