ARB
Functions | Variables
xml.cxx File Reference
#include "xml.hxx"
Include dependency graph for xml.cxx:

Go to the source code of this file.

Functions

static string encodeEntities (const string &str, bool)
 
void to_indent (FILE *out, int indent)
 

Variables

XML_Document * the_XML_Document = NULp
 
static const charentities
 

Function Documentation

static string encodeEntities ( const string str,
bool   
)
static

Definition at line 33 of file xml.cxx.

References NULp, s, and xml_assert.

Referenced by XML_Text::close(), and XML_Comment::close().

void to_indent ( FILE *  out,
int  indent 
)
inline

Definition at line 158 of file xml.cxx.

References fputc(), and the_XML_Document.

Referenced by XML_Comment::close().

Variable Documentation

XML_Document* the_XML_Document = NULp
const char* entities
static
Initial value:
=
" <!ENTITY nbsp \"&#160;\">\n"
" <!ENTITY acute \"&#180;\">\n"
" <!ENTITY eacute \"&#233;\">\n"
" <!ENTITY apostr \"&#39;\">\n"
" <!ENTITY semi \"&#59;\">\n"

Definition at line 25 of file xml.cxx.