OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] Removing newlines between <para>s


Hi Stefan!

Thank you, but unfortunately, removing paras is not an option, I like them and want to keep them :)

--
Ekaterina Shikareva.


-----Original Message-----
From: Stefan Knorr [mailto:sknorr@suse.de]
Sent: Dienstag, 23. August 2016 08:00
To: Shikareva, Ekaterina
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Removing newlines between <para>s

Hi Ekaterina,

(I'll try again, maybe it's helpful this time... although I won't attempt to go into strip-space details.)

If this is just about entries, how about just removing all para tags from entries? I.e.:
<xsl:template match="entry/para"><xsl:apply-templates/></xsl:template>

This should give the effect you want, I think, without you having to add more quirks to your stylesheets to handle the same-line paras.
But maybe there is more to it.


hth,

Stefan.

---                                                                    .
SUSE Linux GmbH. Geschäftsführer: Felix Imendörffer, Jane Smithard, Graham Norton. HRB 21284 (AG Nürnberg).



________________________________

This e-mail and any attachment(s) are intended only for the recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information. If you are not the intended recipient, please do not read this email or its attachment(s). Furthermore, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]