xsl-list
[Top] [All Lists]

RE: Namespace Problem

2004-10-08 06:57:25
Ah, namespace at template declaration. That worked, thanks much

-----Original Message-----
From: Oleg Tkachenko [mailto:oleg(_at_)tkachenko(_dot_)com] 
Sent: Thursday, October 07, 2004 5:21 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Namespace Problem

Bommineni, Venkateshwar wrote:

Bruce/Oleg- I tried in that way. But if I have several sibling 
elements to <Member> then for each and every one I have to include
xmlns.

Nope :

<xsl:template match="People" xmlns="htp://www.foo.com/namespace/v1">
         <xsl:for-each select="Person">
             <Member>
                 <xsl:value-of
select="concat(substring(LName,1,1),'.',FName)"/>
             </Member>
         </xsl:for-each>
     </xsl:template>

--
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




<Prev in Thread] Current Thread [Next in Thread>