[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Same name Elements in more than one node
Mike,
At 12:49 PM 12/26/01, you wrote: The problem is that I want to get the ENCODINGANALOG attribute for each PERSNAME element I output. That's natural. Since I cannot figure out how to write for the current node PERSNAME for an instance of two PERSNAME elements, That's what templates are for! then I decided to write two for-each statements, one inside another, to take care of it. It is clumsy and awkward and very very frustrating, but it works.... Ugh! you'll find the "solution" scales poorly and is very brittle. Is there any reason *not* to use templates? Cheers, Wendell
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
|