You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current writer concept does not allow formatting the document in this style. "afterNode" will be called always, even after text nodes. There is no context given to "afterNode" so its impossible to decide whether or not to place a newline. The same goes for the indentation. The writer concept should be extended to allow for this style of formatting (as its very common)
You are right. The hooks are not complete. I need to find the best balance between having the maximum customization and keeping the number of hooks reasonable.
From @Ingrater on November 2, 2016 15:44
I have a xml document that looks like this
The current writer concept does not allow formatting the document in this style. "afterNode" will be called always, even after text nodes. There is no context given to "afterNode" so its impossible to decide whether or not to place a newline. The same goes for the indentation. The writer concept should be extended to allow for this style of formatting (as its very common)
Copied from original issue: lodo1995/experimental.xml#37
The text was updated successfully, but these errors were encountered: