Subject: Re: [xsl] Setting variable to namespace prefix From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 30 Jan 2007 21:43:37 GMT |
<xsl:if test="(.)=(../../@targetNamespage)"> ^^^^^ but you don't need to loop through like that, just select the one you want <xsl:variable name="ns-prefix" select="name(namespace::node()[.=/*/@targetNamespace])"/> David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Setting variable to namespace, sthomas2 | Thread | [xsl] Problem with Entities, Jeff Sese |
RE: [xsl] xinclude in xslt 2.0 now , Colin Adams | Date | [xsl] Problem with Entities, Jeff Sese |
Month |