From: Michael H. <mh...@ca...> - 2009-01-23 08:16:14
|
fbergman> The biggest issue I had in my implementation was fbergman> with XPath and the problem that SBML models have fbergman> a default namespace, which is not supported by fbergman> XPath. Hmm. I may be barking up the wrong tree, but in XPath 2.0, it appears to me (reading very quickly) that default namespaces are in fact supported. See section "2 Basics" here: http://www.w3.org/TR/xpath20/. Near the end, it says: Element nodes have a property called in-scope namespaces. [Definition: The in-scope namespaces property of an element node is a set of namespace bindings, each of which associates a namespace prefix with a URI, thus defining the set of namespace prefixes that are available for interpreting QNames within the scope of the element. For a given element, one namespace binding may have an empty prefix; the URI of this namespace binding is the default namespace within the scope of the element.] MH |