Hi all,

Not sure How I can get around this problem.  I have an application
that I want is going  to serve XML fragments to the client replacing
the IUI list item "get next x whatever".  basically Instead of linking
to an html document I'm going to dynamically generate the XML
fragment.

This works great in iui if the list is only 1 level deep, but I need
to go at least 2 levels deep.

Here is an example that illustrates the problem:

http://acstech.serveftp.com/iuitest.html  .   This is the digg demo
and at the end is the "get next 10 stories" link.  My example links to
'test.xml which contains:

<li><a href="#list1">Doug's List</a></li>
<li><a href="#List2">Sue's list</a></li>
<li><a href="#List3">Jeff's List</a></li>
<ul id="List1" title="sub list">
         <li>Dougs Sub List</li>
</ul>
<ul id="List2" title="sub list">
         <li>Sues Sub List</li>
</ul>
<ul id="List3" title="sub list">
         <li>Jeffs Sub List</li>
</ul>

after the replace I'd like 'Dougs sub list' to be under 'Dougs list,
'Sues Sub List' to go under 'Sues List' and 'Jeffs Sub List' to go
under 'Jeff's list'.   You will see what happens when I try to link to
this file - the sub lists go under 'Jeff's list and is not iu
formatted.

My best guess is that I somehow have to remove the last </ul> in the
body of the document, put this replacement in, and re - add the </ul>
for the <ul title="Digg  user list at the end of the document.

Trouble is, I dont know how to do that! :0  (if that is even what is
going on)

Any help is appreciated!

Jeff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to