elementtree terminology + tangential questions

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Nov 4 19:58:43 CET 2006


In <1162655068.276394.287080 at m73g2000cwd.googlegroups.com>, mirandacascade
wrote:

> 2) None of the xml documents to which I've had exposure (a very, very
> small set) have had text between an element's end tag and the next tag,
> hence the following question: are there some 'best practices' advice
> available to help one decide when it's a good idea to put text between
> an element's end tag and the next tag as opposed to putting text in the
> text property of an element?

This depends on the type of document.  Examples of xml with text between
tags are XHTML or DocBook. ::

  <p>This is an <em>example</em> of "tail text" in
    <strong>XHTML</strong>.</p>

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list