W3C home > Mailing lists > Public > www-archive@w3.org > June 2003

Re: Circular transformation for RDF and n3

From: Karl Dubost <karl@w3.org>
Date: Mon, 23 Jun 2003 12:21:30 -0400
Message-Id: <a05210634bb1cd843b8b3@[]>
To: Dan Connolly <connolly@w3.org>
Cc: www-archive+n3bugs@w3.org, Sandro Hawke <sandro@w3.org>

At 11:05 -0500 2003-06-23, Dan Connolly wrote:
>  > but if n3 to RDF is not going well,
>it seems to be going fine.

A n3 file:

      @prefix h: <http://www.w3.org/1999/xhtml> .
      @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
      @prefix rss: <http://purl.org/rss/1.0/> .

     <http://www.example.org/>     a rss:channel;
          rss:description """
         <p>Ceci est un test</p>
""" .

karl% cwm -n3 foo.n3 -rdf > foo.rdf
karl% more foo.rdf

<!-- Processed by Id: cwm.py,v 1.129 2003/04/08 16:12:43 timbl Exp -->
<!--     using base file:/Volumes/niu/karl/Sites/lagrange/foo.n3-->

<rdf:RDF xmlns:h="http://www.w3.org/1999/xhtml"

     <rss:channel rdf:about="http://www.la-grange.net/">
         &#60;p&#62;Ceci est un test&#60;/p&#62;

how do I use XSLT now to convert &#60;p&#62; in <p> to output in XHTML?
It's not fine for me, but I may be wrong in one option of cwm.

I would like something like

         <p>Ceci est un test</p>

or if xmlns:xhtml="http://www.w3.org/1999/xhtml"

         <xhtml:p>Ceci est un test</xhtml:p>

Karl Dubost / W3C - Conformance Manager

      --- Be Strict To Be Cool! ---
Received on Monday, 23 June 2003 12:28:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:31 GMT