RE: [xsl] Regarding Default Namespaces

Subject: RE: [xsl] Regarding Default Namespaces
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 9 Oct 2001 15:39:47 +0100
> 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


Current Thread