Re: RDDL Proof-of-Concept for Atom

Sean B. Palmer wrote:
> Hi,
> 
> I've written an implementation in Python that, for an input Atom
> document with extensions in their own namespaces, will get the RDDL
> from that namespace, parse it to find links to xsl:templates that
> extend the main Atom2RDF stylesheet, and then actually extend the
> stylesheet and spit it out again.

Excellent!

> So the full dance for converting extendedAtom.xml to RDF is:-
> 
> ./makexslt.py extendedAtom.xml > extendedAtom2rdf.xsl
> saxon extendedAtom.xml extendedAtom2rdf.xsl > extendedAtom.rdf
> 
> Of course you can use whatever XSLT engine you want; you could even
> modify the Python script to do that all for you.

It really is a shame that Python doesn't have a built in XSLT class...

> Note that this has been CC'd to www-archive; the W3C's public mailing
> list archive for random technical issues and whatnot. I've decided
> that this should be conducted in the open, but away from the spotlight
> since I wanted to run the approach by you two first.

Just for future reference, there is really no need to run approaches by 
me first.  I'm not "angling" for a particular solution.  I truly want to 
explore all approaches...

- Sam Ruby

Received on Friday, 15 August 2003 17:32:00 UTC