[XXE] Preserving blank space in generated HTML and PDF

2019-02-14 Thread Gerd Wagner
When I set xml:space to "preserve" for a triple space character sequence (" ") in an ebook HTML division and then generate HTML and PDF, I don't see a triple space " " as expected, but a single space " ". -- Dr. Gerd Wagner (1) Professor, Brandenburg University of Technology, Germany (2) Adjun

Re: [XXE] Preserving blank space in generated HTML and PDF

2019-02-14 Thread Hussein Shafie
On 02/13/2019 08:56 PM, Gerd Wagner wrote: When I set xml:space to "preserve" for a triple space character sequence (" ") in an ebook HTML division This is somewhat unusual. and then generate HTML I would say that you must additionally specify CSS property "white-space: pre;" for this ki

Re: [XXE] Preserving blank space in generated HTML and PDF

2019-02-14 Thread Gerd Wagner
Am 14.02.2019 um 09:19 schrieb Hussein Shafie: On 02/13/2019 08:56 PM, Gerd Wagner wrote: When I set xml:space to "preserve" for a triple space character sequence (" ") in an ebook HTML division This is somewhat unusual. I need this for explaining the distinction between a valid string and a

Re: [XXE] Preserving blank space in generated HTML and PDF

2019-02-14 Thread Hussein Shafie
On 02/14/2019 12:45 PM, Gerd Wagner wrote: It would probably be good, if you would add the required CSS styling for this to your "ebook.css". Just to be precise, XMLmind does not provide our users with a ready to use "ebook.css". Users are supposed to create their own CSS stylesheet. This is

Re: [XXE] Preserving blank space in generated HTML and PDF

2019-02-14 Thread Gerd Wagner
Am 14.02.2019 um 14:19 schrieb Hussein Shafie: Notice that this is treating the namespace-qualified attribute "xml:space" as an HTML extension attribute. When the ebook division files are served as XHTML, then @namespace xml "http://www.w3.org/XML/1998/namespace";; *[xml|space="prese