On 09/29/10 02:23 PM, Alok Aggarwal wrote:
Hi Jack,

On Wed, 29 Sep 2010, Jack Schwartz wrote:

IIRC, XML doesn't look at white space. If this is so, you can still use option A (which I prefer) and still have files listed on their own line. Something like this:

<kwargs>
<arg name="uncompressed_files">
               file1
               file2
               file3
</arg>
</kwargs>

... and even if XML does look at white space, you can still parse the list you get from XML into individual words (files).

True, we could do it this way. The parsing just becomes
harder though so I'd like to keep it really simple and stupid
if possible.

So according to Keith, XML preserves whitespace.
Perhaps we could require a comma between names (to account for blanks in a name) and split() on commas and then left and right strip the resulting strings of whitespace. That would be only a few additional lines of python, unless there is something I'm not taking into account.

    Thanks,
    Jack

Thanks,
Alok

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to