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

Re: small grouping task

Subject: Re: small grouping task
From: Fred Christian <fredc@xxxxxxxxxx>
Date: Thu, 26 Feb 2009 12:57:35 -0800
Re:  small grouping task
>> > 2), the other making the assumption that each list item is all of the content (except <br/>) that follows each <input/>
>> Correct. But the first <br/> Not more.
>
> Okay ... but are you sure there will always be at least one?


Yes

And actually,
While in the list, there will be only one <br/> per list item, the closing one.
List items are always defined by a <input>....<br/> pair.
There will not be extra <br/>'s while in the list.
There will not be anything but whitespace between list items.
I didn't realize the value of making these statement until now, or the validity of them. Thanks for the questions.


Also, there will _not_ be two lists in a <p class="problem">.........</p>


>> Other things to make work are. >> -a- There are random text and tags between the '<p class="problem">' >> and the first <input>...<br/> pair. > > What do you want done with them?

They should be in the output, in the same place as they were in the input.
I think my source and output are good examples of what has to work now. With sufficient tags to prove the requirements.
If you got my example "desired output" from my example "Note my new source a few more tags", that would fullfill the requirements.
Extra whitespace is ok.


> What if you had:
>    <input> test1 <br/> test2
>    <input> test3 <br/>
>
> ... what happens to test2?

Safe to assume that would not happen.
While "in the list" there will not be anything between a <br/> and a <input>.


--
Am I getting closer?

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.