Functions

htmlutil.cpp File Reference

#include "tinyxml.h"
#include "htmlutil.h"
Include dependency graph for htmlutil.cpp:

Functions


Detailed Description

Author:
Yves Berquin HTML utilities for TinyXPath project

Function Documentation

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:

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_out Output HTML file
XNp_source Input XML tree
u_level Current 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: