realbasic-nug
[Top] [All Lists]

XML noob help

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: XML noob help
From: Trausti Thor Johannsson <tj at quarksbar dot net>
Date: Sat, 29 Dec 2007 23:20:00 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I appreciate any help I can get. Here is a result from xql query

Code:
.....
<person>
<name>Jack Johnes</name>
<address>16000 Philadelphia Avenue</address>
</person>
<person>
<name>John Taylor</name>
<address>10 Downing Street</address>
</person>
.....


Now, I traverse the results with

Code:
for i = 0 to personxml.length-1
   editfield1.text = editfield1.text + personxml.Item(i).??getname   
<---- To get the name
   editfield1.text = editfield1.text + personxml.item(i).??getaddress  
<--- to get the address
next



I expect this to be seriously simple, but this totally escapes me.  
Anyone out there ?


Trausti
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>