[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Can someone explain this generate-id and key xsl

Subject: Re: Can someone explain this generate-id and key xsl fragment to me?
From: Russell Urquhart <russurquhart1@xxxxxxxxxxx>
Date: Fri, 28 Feb 2014 17:53:42 -0600
Re:  Can someone explain this generate-id and key xsl
So, for the moment prior to rewriting this part of the xslt, things should work if for a given errata_section element, if there are more than one module_impacted elements, the first one should be unique for the file, i.e. one errata_section element had three module_impacted elements. Their values were DSS, VIP, VPA. Like the following:

<module_impacted>DSS</module_impacted>
<module_impacted>VIP</module_impacted>
<module_impacted>VPE</module_impacted>

I should probably rearrange these like this:


<module_impacted>VPE</module_impacted>
<module_impacted>DSS</module_impacted>
<module_impacted>VIP</module_impacted>

And maybe this will get the VPE module to be found?

I'll give this a try! Thanks so much!


Russ



On Fri, Feb 28, 2014 at 11:00:59PM +0000, David Carlisle wrote:
> On 28/02/2014 20:44, russurquhart1@xxxxxxxxxxx wrote:
>
>
> well more exactly it is finding the sets of errata_section elements that  
> have the same value for their first module_impacted element, and  
> returning the first errata_section in each group.
>
> module_impacted elements that are not the first child of an  
> errata_section are not considered for the grouping (although probably  
> accidentally they are in the sort)
>
>
> David

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.