Matt: Thanks for that, but I that was too vague for what I needed. Eric: Thanks that's exactly the sort of material I needed.
On 23/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I put together a list of related links here: > > http://developer.mozilla.org/en/docs/XSL_Transforms > > > ----- Original Message ---- > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: Mozdev Project Owners List <[email protected]> > Sent: Friday, December 22, 2006 11:14:52 PM > Subject: Re: [Project_owners] Convert XML to RDF > > 1. Determine the XML "destination" document; that is, the XML of the > resulting transformation. > 2. Write an XSL template that transforms RDF to the XML defined in step 1. If > you don't know XSL, there are automated, visual mapping tools like the one > that comes with StylusStudio, but you're better off learning XSL in the > long-term. > 3. The actual JS code to apply the XSL transform to an XML document is quite > simple. There used to be an article on it at kb.mozillazine.org that I wrote, > but it appears to be missing. > http://developer.mozilla.org/en/docs/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations > has similar information. > > > ----- Original Message ---- > From: Matthew Wilson <[EMAIL PROTECTED]> > To: Mozdev Project Owners List <[email protected]> > Sent: Friday, December 22, 2006 11:06:06 AM > Subject: Re: [Project_owners] Convert XML to RDF > > Samuel Saint-Pettersen wrote: > > Hi everyone, > > > > How can I go about converting an XML document into an RDF document using > > XSLT? I need a conversion which outputs another file with an *.rdf file > > extension. The closest I could find was for transforming XML to XHTML: > > > > http://www.peachpit.com/articles/article.asp?p=21844&rl=1 > > I'm not sure there's a single way to do this - it depends on what your > original XML vocabulary is and what you want to assert in RDF. > > But a quick Google search found this, does it help? > > http://www.xml.com/pub/a/2004/09/01/tr.html > "Converting XML to RDF" > > Matthew > > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > > > > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > > > > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
