Re: How to get ID of a DiaObject?



On Mon, Nov 23, 2009 at 1:45 PM, Nathakorn J. <nathakorn softoo co th> wrote:
Hello,
I am really new to Dia. And I am trying Dia 0.97 for Windows. I want to
utilize a database to store more DiaObject properties using DiaObject ID as
the primary key. Is there any possibility for me to get the id of a
DiaObject using Python?

The uncompressed .dia files are pure XML. with any text editor you
would see the ID of the objects inside the tag <dia:layer>. Do not use
python to day, but I'm pretty sure that if you can do. I did it with
php, I'm sure you can do it with any language that understands XML.


Salu/tty
-- 
Escobar, Nicolas
Dto. Tecnologia
Informatica y Telecomunicaciones S.A.



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