[Doc-SIG] Monty: A structured text syntax idea
Steven E. Harris
sharris at nospam.primus.com
Mon Feb 7 16:14:51 EST 2000
"Michal Wallace" <sabren at manifestation.com> writes:
[...]
> I missed the first half of this, so I don't know if this is relevant or not,
> but I
> use emacs outline mode a lot, and I came up with a "shorthand" version
> of XML that looks like this:
>
> * root
> ** somenode
> this is the text of somenode
> ** somenode attr="whatever"
> another node
> ** shortnode /
> ** somenode
> *** subnode
> this is the subnode
>
> this can be translated into XML via a python filter at:
>
> http://www.sabren.com/code/python/o2x.py
I have a similar translator (Emacs Outline to and XML vocabulary)
written in Perl. I can share it if you're interested.
--
Steven E. Harris
Primus Knowledge Solutions, Inc.
http://www.primus.com
More information about the Python-list
mailing list