[xml] indent in the output file



Hello all,

Thanks for your lightning fast response Alfred!

After using xmlTextWriterSetIndent(m_writer, MY_INDENT) and
xmlTextWriterSetIndentString(m_writer, MY_INDENT_STR)
with const MY_INDENT = 4 and const xmlChar MY_INDENT_STR[2] = " ",
i experienced, that there is no difference in the output,
whatever the indent parameter is 1, 2 or greater.

Is this a bug? How to i set an indent of 4 spaces?

Thanks!

Yours, Philipp




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]