Preserve/strip space elements: saved sets
Posted: Thu Aug 17, 2006 9:18 pm
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