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
It would be nice to have an API to write a single node's content to an XML document in a streaming manner. For text nodes, this is easy, as a simple std.io.AnyWriter wrapper can be written around the text function (though care must be taken to ensure this is done in a way that makes sense for XML raw and generic writers alike). However, for CDATA, comments, and PIs, this requires keeping track of additional state to know that the writer is inside an already open node (and close it when appropriate).
The text was updated successfully, but these errors were encountered:
It would be nice to have an API to write a single node's content to an XML document in a streaming manner. For text nodes, this is easy, as a simple
std.io.AnyWriter
wrapper can be written around thetext
function (though care must be taken to ensure this is done in a way that makes sense for XML raw and generic writers alike). However, for CDATA, comments, and PIs, this requires keeping track of additional state to know that the writer is inside an already open node (and close it when appropriate).The text was updated successfully, but these errors were encountered: