Preserve/strip space elements: saved sets
Are you missing a feature? Request its implementation here.
-
- Posts: 125
- Joined: Mon Jun 09, 2003 6:02 pm
- Location: Charlottesville, Virginia USA
Preserve/strip space elements: saved sets
Enhancement suggestion:
Add the possibility to save and load sets of elements to use in the "Preserve space elements" and "Strip space elements" windows of the menu Editor / Format / XML.
This would be extremely useful to people who use different schemas/DTDs, or who regularly edit different kinds of documents. For example, when editing XHTML it is usually not a problem to add whitespace within paragraphs, table cells, etc.; but when editing TEI documents one often wants to preserve whitespace precisely. So the formatting requirements are different.
One could imagine a user-created list of pretty-print definitions like
Add the possibility to save and load sets of elements to use in the "Preserve space elements" and "Strip space elements" windows of the menu Editor / Format / XML.
This would be extremely useful to people who use different schemas/DTDs, or who regularly edit different kinds of documents. For example, when editing XHTML it is usually not a problem to add whitespace within paragraphs, table cells, etc.; but when editing TEI documents one often wants to preserve whitespace precisely. So the formatting requirements are different.
One could imagine a user-created list of pretty-print definitions like
- - XHTML
- TEI strict whitespace
- TEI loose
- RDF file
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
I think the number of common elements is small (I can find only 4: title, div, p, table, because body does not matter). So the effort to change the list of preserve space elements is less with the current approach (just add/remove the title, p and table elements to/from the preserve space list) than defining some sets of preserve space elements and switch from one set to another when the type of the edited document is switched. Managing the sets of elements in the Editor / Format / XML preferences panel complicates the user interface without much benefit for the user.
Regards,
Sorin
I think the number of common elements is small (I can find only 4: title, div, p, table, because body does not matter). So the effort to change the list of preserve space elements is less with the current approach (just add/remove the title, p and table elements to/from the preserve space list) than defining some sets of preserve space elements and switch from one set to another when the type of the edited document is switched. Managing the sets of elements in the Editor / Format / XML preferences panel complicates the user interface without much benefit for the user.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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