xsl-list
[Top] [All Lists]

Re: [xsl] Creating new, distinct groups of ranges from an aggregation of individual ranges

2014-11-20 10:08:28
Gerrit and Heiko,
I’m posting the complete revised code below. There are no templates in 
#default mode any more which should help in integrating the code. I’ve 
added a debug parameter. Apply aircrafts.xsl with debug=yes to get the 
intermediate steps’ results in /ranges/debug in the output.

Gerrit

I wanted to circle back and comment that the last solution from Gerrit seems to 
be right on the mark. I've only made small changes in it to reflect some 
different XPATH related to the actual complex data structure. I have to take it 
further by removing very specific "inactive" planes during XSLFO output, and 
then organize the resulting ranges into common groupings. That is, if a set of 
"solutions" matches range 200-205, 210-212, and 450-465, then instead of 
repeating a set of FO output for each individual range, then I create one 
common range set of 200-205, 210-212, 450-465. This is based on the solution 
ID, which I did not supply. However, I am comfortable and used to doing that.
I admit that your code, Gerrit, is advanced for me and I will be spending some 
time deconstructing it to understand fully. Being self-taught, I'm always aware 
and pleased to know there are people with much more knowledge than me that I 
can learn from. I may not be the smallest fish in the XSL pond, but there is 
always a bigger fish! I've added comments in my stylesheet with your names and 
the XSLT list in it, as I am grateful for the assistance. Revel in the glory 
this brings.
Thanks everyone for the help!
Kind regards,Michael Friedman                                     
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>