This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Namespace ?


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]