[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] xml:space or not
hi george, this was not clear in my post. oxygen (here version 10.2) does ignore fixed xml:space attributes declared within a dtd. a literally attribute is interpreted. the following dtd: <!ELEMENT root (p) > <!ELEMENT p (#PCDATA | em)* > <!ATTLIST p xml:space CDATA #FIXED "preserve"> <!ELEMENT em (#PCDATA)> validates this document: <!DOCTYPE root SYSTEM "ex.dtd"> <root> <p><em>em </em><em>text</em></p> </root> but oxygen indents the <p>-element. solution: you have to add the attribute to your instance. regards, gregor George Cristian Bina schrieb: > Hi Gregor, > > gregor FELLENZ wrote: >> [...] >> >> in theory the xml:space attribute should fix the problem. in practise >> oxygen ignores the attribute. but anyway, in theory i could avoid the >> situation above. [...] > > oXygen does not ignore xml:space. It will be great if you can provide an > example to show exactly the issue you had when using xml:space. > > Best Regards, > George
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]