Re: small grouping task
>> Correct. But the first <br/> Not more.
> Okay ... but are you sure there will always be at least one?
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>
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?
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