Hussein Shafie wrote:
> 
> St?phane Mottelet wrote:
> >         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.
> 
> "white-space: pre" in the CSS.
> "xml:space (default|preserve) #FIXED preserve" in the DTD (For the

        Thanks a lot, I have learned something today.
BTW, I was wondering what are the real differences between Morphon
and xxe ? I mean, if it will be required to purchase the pro edition
of xxe to be able of developping pluggins, I won't see any difference
(to my point of view), besides the existence of a non-commercial
license for personnal use. 

Thanks anyway

St?phane Mottelet

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

Reply via email to