Talk:Stylesheets for the eRDF impaired

From GetSemantic

Jump to: navigation, search

It's easy enough to remove the @profile requirement, but how do we handle namespaces and how do we know that the author intends the document to be interpreted in the way the stylehseet interprets it?

For the namespaces, I can see two options (there may be others):

  • default prefixes (eg: foaf = http://xmlns.com/foaf/0.1/)
  • look for rel="schema.prefix" in anchor elements (these can be empty or hidden with css, so wouldn't need to change the presentation)


default prefixes has the advantage of requiring less work for the author, but the disadvantages of possibly being misinterpreted, and limiting expression to a few common vocabs

perhaps we could also look for a[@rel.profile] for the profile

Personal tools