Re: [xml] Do patterns support namespaces ?

On Sun, 2011-10-23 at 23:01 +0200, Joachim Zobel wrote:

According to they should,

I think --pattern in xmllint is actually for an XPath expression; since
XPath itself gives no way to bind a prefix to a URI, you are stuck with
    //*[local-name() = "b" and namespace-uri() = "http://....";]

Note that actual prefixes are not significant, only the element name and
URI are significant, in XML, XSD, XPath etc.


Liam Quin - XML Activity Lead, W3C,
Pictures from old books:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]