On Wed, 13 Jun 2001 14:09:09 -0400 Kimbro Staken <[EMAIL PROTECTED]> wrote:
> 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? In general I agree. What do you mean by "a snippet of XML"? Something like the string "xmlns:xyz=http://www.abc.com/xyz/" ? -- ______________________________________________________________________ Lars Martin mailto:[EMAIL PROTECTED] SMB GmbH http://www.smb-tec.com ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact adminstrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------
