how to print newline in xml?

John Bokma john at castleamber.com
Tue May 30 21:25:12 EDT 2006


"anatoli.barski at googlemail.com" <anatoli.barski at googlemail.com> wrote:

> which is already not very readable - but it becomes even worse along
> with increasing number of comments

How about:

<robot>
    <description>armar3</description>
    :
    :
</robot>

XML editor + xpath makes this way more easier to use by humans compared to 
normal comments. Also, if you declare several of comment elements 
(summary, description, author, etc.) you can auto generate documentation 
etc.

-- 
John                               MexIT: http://johnbokma.com/mexit/
                           personal page:       http://johnbokma.com/
        Experienced programmer available:     http://castleamber.com/
            Happy Customers: http://castleamber.com/testimonials.html



More information about the Python-list mailing list