Re: Dumb XML library question

2014-08-07 Thread BNig
for the record Pete wants to cycle trough tab delimited data in a scrolling field with the tab key forward and tab-shift key to go backwards The solutions I posted above don't take into account an empty cell. Here is a script that places the cursor into empty cells for data of type data tab dat

Re: Dumb XML library question

2014-08-05 Thread Dave Cragg
On 5 Aug 2014, at 16:54, Mark Wieder wrote: > You can also step through them with revXMLFirstChild and > revXMLNextSibling. > > put field 1 into tData //source of xml text > put revXMLCreateTree(tData,true,true,false) into tID > put revXMLFirstChild(tID, "person/aliases") into tChild > brea

Re: Dumb XML library question

2014-08-05 Thread Mark Wieder
Dave- Tuesday, August 5, 2014, 7:39:06 AM, you wrote: > There may be a better way, but using revXMLChildNames allows you > get the child names with the index appended (e.g. name[1], name[2], > etc.) You can also step through them with revXMLFirstChild and revXMLNextSibling. put field 1 into

Re: Dumb XML library question

2014-08-05 Thread jbv
Thanks Dave, I had noticed revXMLChildNames but I didn't know that the child tag followed by a number inside brackets could be used to form the path to a specific child... jbv > > On 5 Aug 2014, at 15:00, j...@souslelogo.com wrote: > >> Hi list >> >> When I have a tree such as the following one

Re: Dumb XML library question

2014-08-05 Thread Dave Cragg
On 5 Aug 2014, at 15:00, j...@souslelogo.com wrote: > Hi list > > When I have a tree such as the following one : > > >name1 >name2 >name3 > > > > Is there a simple way to loop through the children of > and get their respective contents ? > Please correct me is I'm wrong, but