RE: [xsl] Qualified Attrib Value

Subject: RE: [xsl] Qualified Attrib Value
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 20 Aug 2002 14:15:17 +0300
Hi,

> How do I get the value of the "test" attrib (contains a value 
> qualified
> in myprefix associated namespace) within this fragment without the
> prefix? (not using string manipulation, but proper Xpath).
> 
> <el test="myprefix:val" />

String manipulation is not part of "proper XPath"? Hmh. Anyhow,

  substring-before(el/@test, ':')

Cheers,

Santtu & Jarno

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


Current Thread