xsl-list
[Top] [All Lists]

Re: [xsl] Problem with a key

2012-03-22 19:43:32
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!


Russ


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">


--~------------------------------------------------------------------
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>
--~--


--~------------------------------------------------------------------
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>