Python-formed XML ? Re: Xython - XML-Formed Python

Boris^2 borcis at geneva-link.ch
Mon Feb 4 09:45:19 EST 2002


Gerard Braad wrote:
> 
> Hello,
> 
> For a long time now, I had the idea of XML-Formed Python.

What about a two-way transform allowing a nested indentation
expression of XML as well ? For a long time now, I had the
idea that much of XML logic can be captured with python-style
nesting, eg :

<FOO bar=parm1 baz=parm2> some data </FOO>

gives maybe

tag foo(bar=parm1,baz=parm2) :
	some data


Boris



More information about the Python-list mailing list