Re: XSL hold, compare, and replace param value
If you were describing the problem to a person you'd say that you want to group the items by country and put a country heading at the top of each group.
Right. And explaining how to do that, you wouldn't say "pick up the items one at a time and if you've already done one with that country, skip it", you'd say "pick up one from each country and with it...", and if someone asked "okay which one" you'd say "it doesn't matter but if you really need me to say, the first one will do".
Thus the declarative approach also allows the implementor to optimize where convenient, rather than fussing over details that don't really matter to the solution.
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