W3C home > Mailing lists > Public > public-wai-ert@w3.org > October 2005

using locations with XPath

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Thu, 27 Oct 2005 10:33:14 +0200
Message-ID: <436090CA.2090204@fit.fraunhofer.de>
To: "public-wai-ert@w3.org" <public-wai-ert@w3.org>


when applying XPaths on namespace XML documents, it is necessary to map 
a namespace prefix to a namespace URI. With a namespace-aware parser the 


won't select anything in an XHTML document. So here's a proposal about 
namespaced XPaths in RDF:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
       <xpath:XPath rdf:about="http://www.example.org/location0">
         <ns:namespace rdf:resource="http://www.example.org/ns0"/>
   <ns:Namespace rdf:about="http://www.example.org/ns0">

Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628
Received on Thursday, 27 October 2005 08:33:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:53 UTC