Re: A challenge.. Group Periods of Data (1..5, 2..8,
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
$e is a passed-in param; so this expression selects either current <B>/@period_end if greater than $e, or simply the passed-in $e if it's equal-or-greater than the current <B>/@period_end. Remember that the pipe, "|", indicates "union", not "or" as in many programming languages.
2) Right off the bat (first iteration), I don't understand how you determine the period attribute "ends" value.
It assumes the period ends with the @period_end of the first <B>, until proven wrong further downstream.
3) Variable g select, what does this get you, the ancestor record? select="/.."
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format