Hi !

        I was wondering why xxe has a different behavior regarding
splitting of #PCDATA type elements when a carriage return is entered.
For example, for a classical mixed content type element, eg:

<!ELEMENT verbatim (#PCDATA)>

contained in another element which allows any number of verbatimm
elements, then a carriage return in the body of a verbatim elements
splits the element in two. I can understand that for classical
paragraph elements, where an explicit carriage return is irrelevant,
since it means that a new paragraph is to begin ; 

but for really verbatim stuff, like a program listing, those cr are
really meaningfull. I saw in the userguide of xxe, which is of
docbook type, the programlisting element keeps explicit cr's. How can
it be done ? I have tried to look in the dtd, but I don't see why cr
should be kept, altough they are not in e.g. para elements.

Thanks for help


St?phane Mottelet

-- 
e-mail : Stephane.Mottelet at utc.fr
www : http://www.dma.utc.fr/~mottelet

Reply via email to