- From: Toby A Inkster <tai@g5n.co.uk>
- Date: Tue, 23 Sep 2008 23:13:13 +0100
- To: Martin McEvoy <martin@weborganics.co.uk>, RDFa <public-rdf-in-xhtml-tf@w3.org>
> I had an xslt going on this sometime back in november last year, it
> was
> very efficient at generating triples but alas it was just a concept
> (just to see if I could), the difference between the above and
> rdfa, as
> far as I can see, is the above doesn't require anything new, and uses
> concepts that publishers and authors can easily become familiar with?
One problem is that it still doesn't provide a *generic* parsing method.
For example, if you have:
<a class="fn n url" href="http://tobyinkster.co.uk">
<span class="given-name">Toby</span>
<span class="family-name">Inkster</span>
</a>
(With or without prefixes - that's not the point I'm trying to get
at) how does the parser know that this is parsed as:
fn = "Toby Inkster"
n = { "given-name": "Toby" ; "family-name": "Inkster" }
url = "http://tobyinkster.co.uk/"
And not:
fn = { "given-name": "Toby" ; "family-name": "Inkster" }
n = "http://tobyinkster.co.uk/"
url = "Toby Inkster"
To do so requires special knowledge of what "fn", "n" and "url" mean;
knowledge that "fn" is a string, "n" is a nested structure and "url"
is a URL.
--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 23 September 2008 22:14:20 UTC