rapidxml

◆ print() [2/2]

template<class Ch >
std::basic_ostream< Ch > & print ( std::basic_ostream< Ch > &  out,
const xml_node< Ch > &  node,
int  flags = 0 
)
inline

Prints XML to given output stream.

Parameters
outOutput stream to print to.
nodeNode to be printed. Pass xml_document to print entire document.
flagsFlags controlling how XML is printed.
Returns
Output stream.