[xml] Setting serialize() indent level...



Hi all,

When serializing libxml2 node or document objects I can set the
"format" parameter to ensure the serialized output is nicely
indented.

Is there some way to set the number of spaces used for indenting
(e.g. 4 spaces instead of the default two)?


Cheers,

Stu

--
:: Stuart Hungerford (stuart hungerford anu edu au)
:: ANU Internet Futures Group




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