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

Re: More XSL Discussion

Subject: Re: More XSL Discussion
From: "Michael Kay" <M.H.Kay@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 1998 11:52:49 -0000
Re: More XSL Discussion
-----Original Message-----
From: Norman Walsh <norm@xxxxxxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxx <xsl-list@xxxxxxxxxxxxxxxx>
Date: 26 February 1998 12:20
Subject: 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?

If the designer of the XML has been thoughtful enough to put a <list></list>
element around the group, then this capability is not needed, because I can
achieve everything I want while processing the <list> element.  Where it is
needed is with a structure like

<list><heading>...</heading>
<li>...</li>
<li>...</li>
<li>...</li>
</list>

Solving the problem by conditional logic on the first and last element of
the group doesn't solve the problem if the two bits of conditional logic are
unable to "collaborate" to produce a single flow object.

Mike Kay


 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.