Re: [xml] Do patterns support namespaces ?
- From: Liam R E Quin <liam w3 org>
- To: Joachim Zobel <jz-2006 heute-morgen de>
- Cc: xml gnome org
- Subject: Re: [xml] Do patterns support namespaces ?
- Date: Sun, 23 Oct 2011 20:24:27 -0400
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]