W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: styling RDF

From: Bert Bos <Bert.Bos@sophia.inria.fr>
Date: Wed, 12 Jan 2000 20:43:19 +0100 (MET)
To: JOrendorff@ixl.com
Cc: www-style@w3.org
Message-ID: <14460.51422.204578.720137@www43.inria.fr>
JOrendorff@ixl.com writes:
> How should I go about styling RDF, or styling XML using
> information that is in RDF?
> 
> RDF is quite good for, say, biblographical information.
> But there are many ways to express the same RDF model
> in XML.  I can't write a general XSLT stylesheet that will,
> say, translate an RDF description of a set of books into
> a printable HTML 4 bibliography.  There are too many
> possible ways for the RDF to be "spelled" in XML.
> 
> I could write some extension functions [1] for an XSLT
> processor such as XT [2].  This might be hard.
> 
> Is there a better way to do this now?  Is anyone else
> pursuing RDF presentation?  Are related specs under
> development?  Thanks.

As you noticed, this is quite hard to do with a generic XML
transformation system, like XSL. But with a parser that knows RDF it
should be easier. One route you might try is to use Perl with an RDF
module to parse the RDF and write it out as HTML.

Try, e.g., http://www.pro-solutions.com/download/


Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/INRIA
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 12 January 2000 14:43:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:02 GMT