Hi Florent, Yes.
One way is to add an eg entry in Options -> Editor -- Format -- XML in the "Preserve space elements (XPath)" list. Another possibility is to use xml:space="preserve" on the elements that you want to have the spaces preserved. If you edit the file in the Author mode then if you specify in the CSS that eg is a witespace preserve element and oXygen takes the CSS information into account and does not change the whitespaces in those elements white-space:pre; Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Florent Georges wrote: > Hi, > > I am writing a document using the XML Spec format. The element > 'eg' in this format is a bit like HTML's pre element: it contains > formatted text, within which whitespaces are significant. When I > use the 'Format and Indent' action, oXygen indent the whole doc, > including those elements (so destroying in part the semantics of > their content.) > > Is there any way to tell oXygen to not indent some specific > elements? I use oXygen 10.2. > > Regards, > _______________________________________________ oXygen-user mailing list [email protected] http://www.oxygenxml.com/mailman/listinfo/oxygen-user
