gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] GNUmed plugin development - part 10


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] GNUmed plugin development - part 10
Date: Fri, 1 May 2009 16:50:10 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Apr 30, 2009 at 04:12:59PM +0200, Hilbert, Sebastian wrote:

> I was fortunate enough to have a face to face meeting with Karsten to ask all 
> my newbie questions.

Not like that that's an honorary occurrence.

> His answer wasn't straight forward. First he wanted to know exactly what I 
> intended to do. I told him my vision but visions don't amount to code. I had 
> to break the vision down into manageable pieces.

I'm a pain in the back :-)

> This is a simplified version. It lacks the actual measurements. Next step is 
> to learn how to transfer that XML to a human readable form so I can display 
> it 
> in the left upper section of the plugin.

There should be Python XML modules which turn an XML file
into a "dotted tree" structure which can then be used like this:

if xml_doc.CardiacDevice.DevicePart.is_connected:
        print xml_doc.CardiacDevice.DevicePart.manufacturer

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]