Re: XML from SQL result

2007-06-27 Thread Gabriel Genellina
En Wed, 27 Jun 2007 04:25:16 -0300, Marcin Stępnicki <[EMAIL PROTECTED]> escribió: > I've skimmed through many Python&XML related books/articles but I am > unable to find anything that is similar to my problem - but it seems to > me that it should be common. > > Anyway: I've got the SQL query wh

Re: XML from SQL result

2007-06-27 Thread Stefan Behnel
Marcin Stępnicki wrote: > I've skimmed through many Python&XML related books/articles but I am > unable to find anything that is similar to my problem - but it seems to > me that it should be common. > > Anyway: I've got the SQL query which returns: > > col1 | col2 | col3 > -+--+- >

Re: XML from SQL result

2007-06-27 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Marcin Stępnicki wrote: > Anyway: I've got the SQL query which returns: > > col1 | col2 | col3 > -+--+- > a | a10 | b20 > a | a10 | b30 > a | a20 | b30 > > I need to generate the following: > > > > > >

XML from SQL result

2007-06-27 Thread Marcin Stępnicki
Hello. I've skimmed through many Python&XML related books/articles but I am unable to find anything that is similar to my problem - but it seems to me that it should be common. Anyway: I've got the SQL query which returns: col1 | col2 | col3 -+--+- a | a10 | b20 a | a10 | b30