code: @Nonnull
    public static ESuccess writeToStream (@Nonnull final IMicroNode aNode,
                                          @Nonnull @WillClose final OutputStream aOS,
                                          @Nonnull final IXMLWriterSettings aSettings)
    {
      ValueEnforcer.notNull (aNode, "Node");
      ValueEnforcer.notNull (aOS, "OutputStream");
      ValueEnforcer.notNull (aSettings, "Settings");
  
      try
      {
        final MicroSerializer aSerializer = new MicroSerializer (aSettings);
        aSerializer.write (aNode, aOS);
        return ESuccess.SUCCESS;
      }
      finally
      {
        StreamHelper.close (aOS);
      }
    }
docs: Write a Micro Node to an {@link OutputStream}.
  
  @param aNode
  The node to be serialized. May be any kind of node (incl.
  documents). May not be <code>null</code>.
  @param aOS
  The output stream to write to. May not be <code>null</code>. The
  output stream is closed anyway directly after the operation finishes
  (on success and on error).
  @param aSettings
  The settings to be used for the creation. May not be
  <code>null</code>.
  @return {@link ESuccess}