[Baypiggies] Constructing XML

Shannon -jj Behrens jjinux at gmail.com
Thu Oct 7 04:40:14 CEST 2010


You might want to check out Stan (part of Nevow) or Genshi.  I'm not
promising either will do exactly what you want, but it's a start.
Generally, when I want pure serialization, I use JSON.

-jj

On Wed, Oct 6, 2010 at 12:37 PM, Keith Dart <keith at dartworks.biz> wrote:
> === On Wed, 10/06, Venkatraman S wrote: ===
>> strtag="Hello World"
>> listtag = [10,20,30]
>> dicttag={'a':100,'b':200}
>>
>> And when the above variables are fed into a black box, i get the
>> output xml: <strtag>Hello World</strtag>
>
> ===
>
> It looks like you want XML serialized objects. You might be interested
> in this recipe:
>
> http://code.activestate.com/recipes/355487-pickle-python-objects-to-a-dom-tree-and-vice-versa/
>
> Try googling for XML serialized objects. I think there are more.
>
>
> -- Keith Dart
>
> --
> -- ------------------------------
> Keith Dart
> =================================
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>



-- 
In this life we cannot do great things. We can only do small things
with great love. -- Mother Teresa
http://jjinux.blogspot.com/


More information about the Baypiggies mailing list