[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: NameSpace question?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Jun 2002 22:58:33 +0100

    <xsl:apply-templates select="Temsis"/>

that would select elements with local name Temsis and no namespace
(teh default namespace does not apply to XPath which foollows the same
rules as for attributes)

you want
    <xsl:apply-templates select="t:Temsis"/>

and xmlns:t="http://www.mysite.com/Temsis" on your xsl:stylesheet.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member