W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2003

"valid" RDF in XML files

From: elacazed <elacazed@actia.fr>
Date: Fri, 28 Nov 2003 16:18:13 +0100
Message-Id: <0311281070.AA1070032694@actia.fr>
To: <www-rdf-interest@w3.org>


My boss asked me to have a look on RDF to do the following : 

We have a lot of RDF files, describing software features, and validated by a
We would like to add RDF/XML metadata to those files, but as there is a LOT of
files, we would like to include the RDF data within the XML files.

I managed to do that by adding the following line to the Schema : 

<xsd:any namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
    minOccurs="0" maxOccurs="1"  

which allows me to add a <rdf:RDF ....>....</rdf:RDF> tag in my XML file, at the
location specified in the schema. An RDF parser finds the RDF information, and
the XML validates correctly, I'm quite happy.

My questions are : 

- 1 : is this the good way to do such things?? Or do I need much more
explanations about RDF and the way to use it?

- 2 : If I want the included RDF information to be checked against a model, how
should I proceed? Do I need RDF Schema???

Thanks a lot for your answers.

Etienne Lacazedieu
Received on Friday, 28 November 2003 10:53:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:45 UTC