[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Converting attributes to elements and preserving t
Thanks Jeni.
I knew there was something like this. Of course, I use recursively nested element types all the time. It's come to be so ordinary that I wasn't even able to think of it first thing in the a.m. (here). Now we have an "impossible" on the table, it may also be worth noting how absurdly difficult it is to do other ordinary things with for-each, like process all children in document order regardless of their element type, but treat each element type differently. It turns out template matching is a simple and elegant way to drive "conditionals" through the stylesheet. Cheers, Wendell At 12:06 PM 12/19/01, you wrote: > I wonder whether the reverse is the case. (Can anyone suggest > something that can't be done with a for-each, but can be done with > templates? I can think of things much harder to do with for-each, > but impossible?)
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
|