This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Can one element have more than one namespaces?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Can one element have more than one namespaces?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 27 Mar 2001 10:05:41 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> <xsl:template match="A[namespace::nsY and namespace::nsX]">
This will match an element whose local name is A, and whose namespace URI is
null, provided that namespace prefixes nsY and nsX have been declared on
this element or an ancestor element (and regardless of the namespace URI
they have been assigned to).
If that's what you want to do, do it!
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list