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 name from node?


> -------------------->			<xsl:when test=" ???????????? ">
> 
> 			<!-- If the namespace name equal to "xhtml" , then -->

Try with

   <xsl:when test="substring-before(name(),':')='xhtml'">

because the deafult namespace entity is defined by <namespace:nodename>.

Alessio


 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]