maurizio codogno wrote: > Well, maybe it is a problem with the style sheets rather than with > XMLeditor (v3.0p1, btw), but I am puzzled.
That's right. This problem is not related to XMLmind XML Editor. XMLmind is not the author of the XSL style sheets for DocBook. Therefore there is nothing we can fix. But see below... > I have the following document: > > <?xml version="1.0" encoding="UTF-8"?> > <!-- ?xml-stylesheet type="text/css" href="cit.css"? --> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" > "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> > <book lang="it"> > > <chapter id="test"> > <title>- TEST -</title> > > <blockquote revision="1.2.0" revisionflag="added"> > <attribution>Anonymous</attribution> > > <para role="new"><quote>This text is in class "new".</quote></para> > </blockquote> > > <blockquote revision="1.2.0" revisionflag="added"> > <attribution>A.N.Other</attribution> > > <para role="new"><literallayout>This text is NOT in class > "new".</literallayout></para> > </blockquote> > </chapter> > </book> > > As you may see, the only difference between the two blockquotes is the > use of "quote" and "literallayout". Moreover, my config file has the > line > > <parameter name="para.propagates.style">1</parameter> > > When I compile the file, the first blockquote gets class "new", while > the second one not. (it's a <div class="literallayout"> without a > surrounding <p>) > It's not really an issue, since I may just add a section > .literallayout to my CSS file, but I am puzzled anyway. Any idea? Why put a literallayout inside a para? This is allowed by the DTD, but does it make sense? A quote is an ``inline element''. A literallayout is a ``block element''. May be you'll want to use literal (``inline element'') instead if literallayout. If you do this, I'm sure it will work fine.

