ddc
Functions
htmlutil.cpp File Reference
#include "tinyxml.h"
#include "htmlutil.h"
Include dependency graph for htmlutil.cpp:

Functions

void v_levelize (int i_level, FILE *Fp_out, bool o_html)
 Generate some indentation on the HTML or file output. More...
 
void v_out_html (FILE *Fp_out, const TiXmlNode *XNp_source, unsigned u_level)
 

Detailed Description

Author
Yves Berquin HTML utilities for TinyXPath project

Function Documentation

◆ v_levelize()

void v_levelize ( int  i_level,
FILE *  Fp_out,
bool  o_html 
)

Generate some indentation on the HTML or file output.

Referenced by v_out_html().

Here is the caller graph for this function:

◆ v_out_html()

void v_out_html ( FILE *  Fp_out,
const TiXmlNode XNp_source,
unsigned  u_level 
)

Dumps an XML tree to an HTML document
This is a recursive function, called again at each element in the tree

Parameters
Fp_outOutput HTML file
XNp_sourceInput XML tree
u_levelCurrent level

References TiXmlNode::COMMENT, TiXmlNode::DECLARATION, TiXmlNode::DOCUMENT, TiXmlNode::ELEMENT, Name, TiXmlNode::TEXT, TiXmlNode::UNKNOWN, v_levelize(), and v_out_html().

Referenced by main(), and v_out_html().

Here is the call graph for this function:
Here is the caller graph for this function: