Re: [xml] Do patterns support namespaces ?



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

According to http://www.w3.org/TR/xmlschema-1/#Selector 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


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/




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