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

default parameters

Subject: default parameters
From: "Brian Killian" <brian@xxxxxxxxxx>
Date: Tue, 30 Jan 2001 14:00:51 -0600
brian killian
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


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.