FO indentation/pretty print
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 35
- Joined: Fri Jun 03, 2005 11:00 am
FO indentation/pretty print
Another minor but still annoying problem.
It seems that Oxygen is very shy when it comes to pretty printing FO documents, or XSL containg fo: elements. I understand that for some elements, you need to preserve the formatting, but I don't see why my <fo:block/> should not be properly lined up.
Of course, maybe this is a RTFM
It seems that Oxygen is very shy when it comes to pretty printing FO documents, or XSL containg fo: elements. I understand that for some elements, you need to preserve the formatting, but I don't see why my <fo:block/> should not be properly lined up.
Of course, maybe this is a RTFM

-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
There are two ways to specify the elements in which the Format and Indent (pretty-print) action preserves the whitespace:
- add the element name including the namespace prefix to the Preserve space elements list in Options -> Preferences -> Editor/Format
- add the xml:space="preserve" attribute to the element (stronger than the first method).
Regards,
Sorin
There are two ways to specify the elements in which the Format and Indent (pretty-print) action preserves the whitespace:
- add the element name including the namespace prefix to the Preserve space elements list in Options -> Preferences -> Editor/Format
- add the xml:space="preserve" attribute to the element (stronger than the first method).
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service