int axl_doc_get_flat_size ( axlDoc doc  ) 

Allows to get how much will take the axlDoc instance represented as an XML document in an storage device (like memory).

Parameters:
doc The axlDoc reference that is being requested to return its size.
Returns:
The size the axlDoc will represent, in a octect-counting, or -1 if fails. The function will only fail if the provided reference is NULL.