From: Tennis Smith <ten...@tripit.com>
To: Dave Kuhlman <dkuhl...@pacbell.net>
Sent: Monday, July 6, 2009 8:48:15 AM
Subject: Export To Text?

>
> Is there any way to export the generateDS objects as text instead of xml?
>

I'm not too sure what you mean by "as text".  Do you mean a literal
representation of Python objects?  If so, look at the generated
exportLiteral() method in each class.  At the bottom of the generated
files, there is a parseLiteral() function, that you can call in place of
the parse() function.

I try to keep that exportLiteral code up-to-date, but I'm betting that, given 
the
recent changes, it needs work.  If it turns out to be useful to you,
I'll do some testing.  Or, maybe I'd better do that work whether
you use it or not.

- Dave


 -- 

Dave Kuhlman
http://www.rexx.com/~dkuhlman

------------------------------------------------------------------------------
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to