That shouldn't be "knows how to render XML" - but it should be "knows how to
parse XML into a list"

--
Jeremy Thomerson
http://www.wickettraining.com



On Fri, Dec 25, 2009 at 8:45 AM, Jeremy Thomerson <[email protected]
> wrote:

> There are several ways....
>
> XSL - not very "wickety", but would work - you could place the transformed
> HTML with a wicket label.
>
> process the XML to an array first, then work on it
>
> create a model for a repeatingview (i.e. listview) that knows how to render
> XML
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
>
> On Wed, Dec 16, 2009 at 4:46 PM, Ed _ <[email protected]> wrote:
>
>>
>> Hello,
>>
>> I have a list of items in a xml document.
>>
>> What is the best way to convert them into a list on an page.
>>
>> <xml>
>>
>> <item><name>apple</name><item>
>>
>>
>> <item><name>orange</name><item>
>>
>>
>> <item><name>carrot</name><item>
>> </xml>
>>
>>
>> <ul>
>> <li>apple</li>
>> <li>oragnge</li>
>> <li>carrot</li>
>> </ul>
>>
>>
>> Should I extract into an Array and then use ListView ? Or is there a
>> better way
>> thank
>>
>> _________________________________________________________________
>> Hotmail: Free, trusted and rich email service.
>> http://clk.atdmt.com/GBL/go/171222984/direct/01/
>>
>
>

Reply via email to