Coconut XML Framework  beta
Classes | Functions
CNXMLPrettyPrinter.h File Reference

Formatt the xml document with collect indentation. More...

#include <libxml/tree.h>

Go to the source code of this file.

Classes

struct  CNXMLPrettyPrintConfig
 Configuration for pretty printing. More...

Functions

void CNXMLPrettyPrintNode (xmlNodePtr node, const struct CNXMLPrettyPrintConfig *config)
 Insert spaces for pretty printing.

Detailed Description

Formatt the xml document with collect indentation.

Copyright
Copyright (C) 2012 Steel Wheels Project

Function Documentation

void CNXMLPrettyPrintNode ( xmlNodePtr  node,
const struct CNXMLPrettyPrintConfig config 
)

Insert spaces for pretty printing.

Parameters:
nodeSource and destination node
configConfiguration