- From: S. Mike Dierken <mdierken@hotmail.com>
- Date: Wed, 22 Jan 2003 21:48:22 -0800
- To: <www-talk@w3.org>
> ----- Original Message ----- > From: amit_opus > > Hi Friends , > Can anyone tell me how to create an rdf file from xml file. > My input file should be xml and it should provide me its RDF as output. > I have tried the .XSL to parse the XML file But it did not work out. I'm not an RDF knowledgeable person, but I'll try to help as much as I can. RDF is meant to represent information (typically metadata about Web resources) and has a certain syntax/appearance when saved as XML. XML can be used to either highlight ('markup') sections of information within text, or represent information in a structured format. There is no general way to take some unknown XML and output it as RDF. You need to understand the meaning and structure of the XML - the information it is trying to represent - and then express that same information back into the RDF way of describing information. If you want to convert some XML (that you have a good understanding of) into RDF with XML syntax you can use XSLT to do that conversion. The XSLT file (which you write for each type of XML input and each type of output) would have all the rules for extracting the information you want from the input XML and specifies what the output will look like. Here are some links that might be of use (I apologize if this is information you already know): === What is RDF? by Tim Bray (who knows his stuff) http://www.xml.com/pub/a/2001/01/24/rdf.html RDF Tutorial by Pierre-Antoine Champin http://www710.univ-lyon1.fr/~champin/rdf-tutorial/
Received on Thursday, 23 January 2003 00:47:35 UTC