RE: [xsl] Namespace ?

Subject: RE: [xsl] Namespace ?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 25 Jul 2002 14:28:03 +0100
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread