Re: [docbook-apps] Removing newlines between s

2016-08-22 Thread Bob Stayton

Hi Ekaterina,
I'm not completely clear on what you need here.  In terms of DocBook 
XML, these two representations are semantically identical:


Some text
Some text

and

Some textSome text

That is, white space between block elements like para is not considered 
significant, and will be ignored in any further processing to generate 
output.  So these two representations will produce identical output.


If your cleanup XSLT includes , then that is a 
global setting and is the reason why the two paras are on separate 
lines.  If you set indent="no", then those line breaks won't be added, 
but then line breaks won't be added anywhere.  Turning off the line 
breaks only within  might be accomplished if you use 
 and  in some combination, but I 
haven't tried it.


If instead you are asking that the content of the para elements be 
merged into a single para in the output, then that's a different thing.


Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 8/19/2016 7:48 AM, Shikareva, Ekaterina wrote:

Hello,



I have a task to combine a single DocBook XML file from several other
source DocBook XML files. This is done with some Perl script. Next, I’m
trying to prettify the result (also from inside my Perl script) using
the following xslt stylesheet:



http://www.w3.org/1999/XSL/Transform;>







  







In this resulting XML, I get the following formatting:





  Title

  



  

  



  Some text

  

Some text

Some text

  



  



  





But I need the s inside the  to stick together:





  Title

  



  

  



  Some text

  

Some textSome text

  



  



  





Even if these s are on the same line in my source file, in the
combined file they jump to different lines because of the formatting and
indenting.



What changes shall I introduce in my xslt stylesheet to solve this?



Thank you!



--

Best regards,



Ekaterina Shikareva

Senior Technical Writer






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.


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] [ANN] Release of XMLmind XML Editor v7.1

2016-08-22 Thread Hussein Shafie

Release of XMLmind XML Editor v7.1:

- Several minor yet very useful enhancements.
- Several bug fixes.
- New tutorial with screencast "Creating a DITA bookmap": 
http://www.xmlmind.com/xmleditor/_tutorial/create_bookmap/index.html


More information in http://www.xmlmind.com/xmleditor/changes.html

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org