This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Namespace ?
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 25 Jul 2002 14:28:03 +0100
- Subject: RE: [xsl] Namespace ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> But this does not work.
> In the XML file if I replace
> <Resume xmlns="http://ns.hr-xml.org/RecruitingAndStaffing/SEP-2_0">
> By
> <Resume>
> This work fine
>
> Could anybody explain me why ?
This is a FAQ. The name of the Resume element has two parts, a namespace
URI and a local name. To refer to it in an XPath expression you must use
a QName in the form prefix:local-name, where the prefix is assigned to
the correct namespace URI.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list