write (serialize) the model to the specified file
![]() |
Type | Name | Description | ||
System.IO.StreamWriter | writer |
![]() |
Return | Description | |||
Model |
This is a simple implementation missing some desirable features, e.g. shared namespaces, handling of anonymous ndoes, automatic determination of CDATA. It's not very efficient to build the whole XML model and then serialize it; this could be done incrementally. Output isn't indented.