[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] default parameters
Does anyone know how to set the default value of a parameter to an attribute value, like an id, from an element whose date attribute is the most recent out of all similar date attributes? For example, I have a group of elements with date attributes... <div status="archive"> <section id="default"> <source volume="7">AIArchitect</source> <date> <month number="12">December</month> <day>Sunday</day> <year>2000</year> </date> and I need to find the most recent date of a group of elements like above, and set its section id attribute value as the default value of a global parameter. Is there any simple way to do this without resorting to extension functions? I cant figure out how to go about getting the most recent date...Any ideas? Thanks XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|