[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] xml:space or not
gregor FELLENZ wrote: > i agree that unintended white space would represented. but i want to avoid > unintended whitespace. i.e. a tool with indentation function does produce bad > renderign results. my example, to be correct: the slightly changed example > does not work with xsl-fo either: > > this line: > <para><emphasis>em1 </emphasis><emphasis>em2</emphasis></para> > > indentation with spy, oxygen (or xslt indent="yes") results in: > <para> > <emphasis>em1 </emphasis> > <emphasis>em2</emphasis> > </para> In general, it is not good idea to indent elements with mixed content. On oXygen you can control identing and whitespace preservation on element basis in Options -> Editor -> Format -> XML. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]