[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: More XSL Discussion
| I think in fact there is one kind of "complex pattern" that would meet 80% | of the requirement and would SIMPLIFY the language: namely "a group of | consecutive elements of the same type". Given: <list> <li>...</li> <li>...</li> <li>...</li> </list> Do you mean a single rule that would match all the <li>'s simultaneously? I think that would make flow object construction for the elements in each <li> much more difficult. | Currently there are three patterns | for "first of type", "last of type" and "only of type", and if any of these | is matched, then the default rule for the element is not matched. If you get Another possibility is to add more expressive power on the action side. In other words, let the action side of the <target-element type="li"/> ask which occurance this is and adjust its output accordingly. Cheers, norm -- Norman Walsh <nwalsh@xxxxxxxxxxxxx> | The man with ten children is Senior Application Analyst | better off than the one with ten ArborText, Inc. (www.arbortext.com) | thousand fonts of type, because 413.549.3868 Voice/FAX | the man with ten children doesn't | want any more. 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
|