Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
PC Mac Lan
Stub Mac Projector
Go to URL
80's Arcade High Score Name Entry Behavior
RADGrid
Random numbers from file names -w/o BuddyAPI
Least Common Denominator
HTML-ingo
SpaceShooter
MP3 player and project source code
MediaMacros Xtras Mall
 

 

 

Behavior XML Parser List Converter

Added on 5/14/2000

 

Compatibilities:
D7 D8 Mac PC Script Shockwave

This item has not yet been rated

Author: LucasMeijer

Converts a list received from the XMLParser to a nice looking one. Watch out with tags consisting out of more words. I chose to limit a tag to one word, so I can use nice symbol lists instead of the "NAME":"LUCAS" option which I dislike.

on makeNiceList uglyList
  niceList=[:]
  repeat with i=1 to uglyList.count
    name=uglyList.getPropAt(i)
    if char 1 of name = "!" then delete char 1 of name
    if ilk(uglyList[i])=#proplist then    
      niceList.addProp(symbol(name),makeNiceList(uglyList[i]))  -- Recurse.
    else
      niceList.addProp(symbol(name),uglyList[i])
    end if
  end repeat
  return niceList
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail