- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Tue, 13 Jun 2006 11:07:25 +0100
- To: "Fabien Gandon" <Fabien.Gandon@sophia.inria.fr>
- Cc: "public-rdf-in-xhtml task force" <public-rdf-in-xhtml-tf@w3.org>
Hi Fabien, > We are using RDFa and GRDDL in SweetWiki [1]: a wiki here persistence is > in XHTML+RDFa and navigation is done through SPARQL queries on the RDF > extracted from the pages by a GRDDL stylesheet. Great! > [snip] > > Therefore, unless I missed a point, in XSLT I can easily extract > property and class QName from XHTML+RDFa and get their ns prefix an > local name, but there seems to be no way of accessing the ns declaration > (i.e. the URI associated to the prefix) and therefore no way of being > independent from the ns used in the RDFa. I'm not quite sure what you mean, but are you saying that you want to *enumerate* the namespaces? If so, then you would normally use the namespace::* axis. It wouldn't work to get the values of the attributes in the way you describe because of the way that namespaces inherit in XML. Instead, for each element, XPath provides a list of all namespaces that are 'in scope', and it's this list that you would process. Please let us know when you release the stylesheet so that we can put a reference on http://rdfa.info. Thanks. Regards, Mark -- Mark Birbeck CEO x-port.net Ltd. e: Mark.Birbeck@x-port.net t: +44 (0) 20 7689 9232 w: http://www.formsPlayer.com/ b: http://internet-apps.blogspot.com/ Download our XForms processor from http://www.formsPlayer.com/
Received on Tuesday, 13 June 2006 10:07:43 UTC