Aulis Vierholeinen wrote:

> 1) I have an XML file and need to show it's childs not in the order
> they are in XML, but sorted alphabetically. I know how to do this
> using XLS, but does Lingo allow to do this?

Why don't you create an empty list, sort it, then add values to it as
you iterate through your Xml child list?

> 2) There is something strange happening when I try to
> getNetText("http://myserver/somefile.php";). I must get the file to
> text member but it appears empty everytime I run Projector! That php
> generates XML so in Internet Explorer I see a normally parsed XML. In
> Director - nothing. How can it be?

You're using netTextResult(netId), right? To get net text, you must:

iNetOpId = getNetText("http://myserver/somefile.php";)
-- check netDone( iNetOpId ) until it returns TRUE, in exitFrame event
txt = netTextResult( iNetOpId )
member(myTextMember).text = txt

IOW, you can't just say getNetText(url) and expect it to return text.

HTH
Rob

/*********************************
* Rob Wingate, Software Human    *
* http://www.vingage.com         *
* mailto:[EMAIL PROTECTED] *
*********************************/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to