This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Appl templates
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Appl templates
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 25 Apr 2001 17:35:22 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I am having problems using apply templates all I want to
> return is the name
> ie Big insurance company, trouble is that I keeping getting everything
> returned.
Simplest solution is to be more selective:
<xsl:template match="Policy">
<xsl:apply-templates select="Insurer[@ref='Insur']/Name" "/>
</xsl:template>
Alternatively define a template that matches Insurer/* and does nothing.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list