Re: prop list to xml

2006-01-30 Thread Buzz Kettles
At 5:32 PM +0100 1/26/06, you wrote: Hi List! The XML Parser Xtra converts XML-formatted text into a Lingo property list. Now, I need to do the opposite: I have a property list and would like to convert that into an XML text. Should be possible to code that in Lingo, but I don't know XML very

Re: prop list to xml

2006-01-29 Thread Dave Miller
Run this in your message window: play movie "http://www.dmillerstudios.com/temp/XMLObjectStorage.dir"; The movie contains a script that will convert a prop list to and from XML. The list can contain the following data types: void, integer, float, string, symbol, point, linear list, prop list

AW: prop list to xml

2006-01-27 Thread Michael von Aichberger 2
Thanks everybody! That really helped a lot! Enjoy your weekend! Michael [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for l

Re: prop list to xml

2006-01-26 Thread Luke Wigley
He's another script http://www.lingoworkshop.com/code/classes/scripts/ListSaver.ls Its intended for saving and reading Lists and Proplists. It saves the ilk of the list value (and property, in the case of propLists) along with the value (to make it easier to read the list back in and conv

Re: prop list to xml

2006-01-26 Thread Darrel Plant
Mark Hagers wrote: > If you want to try the Flash XML object for parsing, have a look at > Darrel's article on doug: > http://director-online.com/buildArticle.php?id=1154 It doesn't, however, convert a property list to XML. Actually, I do quite a lot of back-and-forth between XML and property l

Re: prop list to xml

2006-01-26 Thread Mark Hagers
On 26-jan-2006, at 17:32, Michael von Aichberger 2 wrote: The XML Parser Xtra converts XML-formatted text into a Lingo property list. Now, I need to do the opposite: I have a property list and would like to convert that into an XML text. Check out the XML parser object by Andrew White.

Re: prop list to xml

2006-01-26 Thread Alex da Franca
Am 26.01.2006 um 17:32 schrieb Michael von Aichberger 2: Is there an Xtra or script out there that does that for me? Here's the script I use: --- ||| a¿ex [To remove your

Re: prop list to xml

2006-01-26 Thread Valentin Schmidt
hi michael, instead of writing the xml yourself, you can also use flash's xml-object to create it. below a simple and quick and dirty implementation of such a conversion function I just wrote (all list values are inserted as strings, it doesn't create nested tags for nested lists etc.): on p

Re: prop list to xml

2006-01-26 Thread Mathieu Sénidre
Hi Michael, I wrote this script some time ago, not really *heavily* tested yet but works nicely so far. Put the code in a movie script, then you can convert your propList into XML by doing xmlString = propListToXML(myPropList) xml nodes will have a "ilk" attribute, which is used by the xmlToPro

Re: prop list to xml

2006-01-26 Thread grimm
I've got one that does serialization - ie it takes a proplist and makes it xml but with whatever type (number, string, symbol) that might be, including nested proplists - but the xml is messy; it won't be as clean as whatever I'll dig around and send it forward. [To remove yourself from this lis

prop list to xml

2006-01-26 Thread Michael von Aichberger 2
Hi List! The XML Parser Xtra converts XML-formatted text into a Lingo property list. Now, I need to do the opposite: I have a property list and would like to convert that into an XML text. Should be possible to code that in Lingo, but I don't know XML very well nor am I good in programming recur