forked from andreww/fox
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dom: New FoX option - invalid-pretty-print
Add a new DOMConfiguration option "invalid-pretty-print", like "format-pretty-print" this option causes whitespace to be added to the document serialization to help readability. However, unlike format-pretty-print validity is not preserved (e.g. a DTD may specify that empty nodes are not allowed invalid-pretty-print may add them, format-pretty-print will not). As the wxml option pretty-print does not know about this the FoX DOM does not implement format-pretty-print. The new option is a way to make the output more readble without overhalling wxml. Setting the "cannonical-form" option unsets "invalid-pretty-print" and "invalid-pretty-print" defaults to no pretty printing (.false.).
- Loading branch information
Showing
4 changed files
with
38 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters