My plans
Kjetil Kjernsmo
kjetil at kjernsmo.net
Sun Dec 20 21:23:02 CET 2009
On Friday 18. December 2009 10:14:29 Robin Berjon wrote:
> On Dec 17, 2009, at 23:20 , Kjetil Kjernsmo wrote:
> > Recently, I've focused on my RDFa Templating language. The idea is
> > described here:
> > http://www.kjetil.kjernsmo.net/software/rat/
>
> That looks interesting. Quick question: why have a rat and a sub
> namespace? The more namespaces RDF people pile up, the less take up
> this sort of things gets!
Errr, I just never thought about it as a problem... :-) I guess I could do
without, I need to go through the code to find out...
> > Also, I have to learn to write a SAX Filter on deep structures to get
> > it finished. Unfortunately, I have very little time to do it.
>
> A SAX filter on deep structures essentially means that you have to
> maintain a complex state machine. I recommend against doing that by
> hand — it's very much like trying to parse a complex format with just
> one regex.
Mmmm, Kip said it should be quite simple, and that he would help, we just
need to have time to do it at the same time, and that's not very often
these days...
In the first iteration, I just want to go from
http://svn.kjernsmo.net/RDF-RDFa-Template/trunk/t/data/dbpedia-
comment.input.xhtml
to
http://svn.kjernsmo.net/RDF-RDFa-Template/trunk/t/data/dbpedia-
comment.expected.xhtml
Then, if the SPARQL query behind this has several solutions, it should loop
the child nodes of the rat:graph element, and I don't know how to do that.
Then, it should also have multiple rat:graphs.
> There is a variety of tools out there (I think XML::Twig
> might be a decent option, though there are others I haven't tried, like
> XML::Rules).
OK. I have an XML::LibXML::Document that I want to work on, and neither
seem to support that. I'll hear what Kip has first.
Cheers,
Kjetil
--
Kjetil Kjernsmo
kjetil at kjernsmo.net
http://www.kjetil.kjernsmo.net/
More information about the Dev
mailing list