Due to the way XPath and namespaces don't work very well together, the
current XPathQueryService does not work namespace aware queries. I'd
like some input on what the best way to solve this is. 

The simplest solution seems to be to just add a namespace context
parameter that simply takes a snippit of XML containing the namespace
declarations and use that to define the namespaces. This would be
similar to what Xalan and other software does in this case. 

query(string xpath, string namespaceContext)

Is there a better/more elegant way to handle this?

-- 
Kimbro Staken
The dbXML Project
http://www.dbxml.org/

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact adminstrator:   mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to