[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Problem with a key

Subject: Re: [xsl] Problem with a key
From: Russell Urquhart <russurquhart1@xxxxxxxxxxx>
Date: Thu, 22 Mar 2012 19:43:14 -0500

The device_name was the determining factor, but i wanted to return, for each device_name, the title of the bug associated. Once i changed the use attribute, i got what i wanted.

But you can see why i got confused.

Thanks for you input!


On Thu, Mar 22, 2012 at 05:22:32PM -0400, Murray McDonald wrote:
> You are trying to match against the device name aren't you?  If so I think
> you have your "match" and use parameters reversed
> <xsl:key name="bugtitlekey"
> match="errata_section/devices_impacted/device_name"
> use="ancestor::errata_section/title">

Current Thread