On Thursday 31 January 2008 6:21 pm, Ed Leafe wrote:
> On Jan 31, 2008, at 8:13 PM, Paul McNett wrote:
> >> Is there a way to get the ClassDesigner to save the form
> >> information as Python
> >> code instead of XML?
> >
> > Not currently, however that would be really cool to do. We'd need to
> > litter the .py files with tags, most likely, to enable 2-way editing.
>
>       It's not that easy to do. The output of the DesignerXmlConverter.py
> utility works, but it's hardly elegant code. The problem is the amount
> of possible complexity that needs to be handled; to do that in a
> generic way that works with any possible layout is very difficult; it
> would be almost impossible to reverse that process back to XML, and
> any editing by the developer would certainly defeat that effort.
>
>       Adrian, why do you want to generate Python code?
>
> -- Ed Leafe
What prompted this is my attempts to enter Key values directly into the cdxml 
file. Lets just say it reconfirmed my allergy to XML. I thought how much 
easier it would be to edit Python code. Just for my reference why is XML 
necessary? I mean you can write an application in Python and have Dabo render 
it, so what is the purpose of the XML?

-- 
Adrian Klaver
[EMAIL PROTECTED]


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to