This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Regarding Default Namespaces
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Regarding Default Namespaces
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 9 Oct 2001 15:39:47 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Please tell me how to access an elment whose URI is a default
> namespace.
Add a namespace declaration to the stylesheet, with an explicit prefix, and
use that prefix in the XPath expression
e.g.
<xsl:value-of select="my:apple" xmlns:my=" www.apple.com "/>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list