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]

RE: Appl templates


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]