W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2001

RE: Represent a simple HTML file with RDF

From: Ron Daniel <rdaniel@interwoven.com>
Date: Sun, 15 Jul 2001 07:12:06 -0700
To: <www-rdf-interest@w3.org>
Message-ID: <EMEKICCGFEKJFGKMFLEPIEBJDBAA.rdaniel@interwoven.com>
What about:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
              xmlns = "some URL you make up to represent the meaning of your fields">
 <rdf:Description rdf:about="filename.html">

however, this only works if the field names make proper XML tag names.


>  -----Original Message-----
> From: 	www-rdf-interest-request@w3.org [mailto:www-rdf-interest-request@w3.org] 
> Sent:	Friday, July 13, 2001 1:39 AM
> To:	www-rdf-interest@w3.org
> Subject:	Represent a simple HTML file with RDF
> Sorry, if this question sounds too simple, but I am new to the RDF
> and have to quickly solve the problem describes above for a running project:
> I have to read a given HTML file in my JAVA code and create a RDF file
> out of it.
> The HTML file simply contains user inputs, i.e. I have to represent in RDF:
> 1. the name of HTML file
> 2. name/value pairs of all the input fields
> How would the RDF syntax for that look like?
> Would the following be RDF conform?:
> <rdf:RDF> 
> <rdf:Description about="http://www.w3.org/Home/Lassila">
> 	<s:Name>"Name of  1st input field</s:Name> 
> 	<s:Value>"Value of 1st input field</s:Value> 
> 	<s:Name>"Name of  2nd input field</s:Name> 
> 	<s:Value>"Value of 2nd input field</s:Value> 
> 	etc.
> </rdf:Description> 
> </rdf:RDF> 
> Again, sorry if this looks like a silly question, but I am really running out of time
> with my project and have to quickly (without reading RDF manuals for hours)
> have to find a solution for that.
> Tanks for any help!!
> Britta
Received on Sunday, 15 July 2001 10:13:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:50 GMT