> In XPath there is no way to associate a namespace URI with a namespace > prefix, but you can still include the prefix in the queries. The methods > are necessary so that the XPath engine can do something intelligent when > it sees a namespace prefix in a query.
Ok, I see that in the XPath grammar now. QName::= (Prefix ':')? LocalPart So, is this just some syntactic sugar to make writing XPath expressions a little less laborious? Or, is there a more subtle reason... like when an XPath expression is embedded in an XML Document as an attribute or element value. That expression could make use of the namespace prefix to uri mapping defined in the document. John _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------
