diff --git a/doc/reference.html b/doc/reference.html
index 1d29a3b..9168bb1 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -9,10 +9,11 @@
pre { font-weight: bold; color: #7f0000; margin-left: 2em; }
span.info { font-weight: bold; font-style: italic; color: #ffffff; background: #000000; }
h3 span.info { float: right; }
+ h1.title, h2.title, h3.title { border-bottom: solid 2px #000000; }
-->
-Contents
+Contents
-
+
-
-
+
Description
The XML node type.
Values
@@ -43,7 +43,7 @@
MXML_TEXT | Text fragment |
-
+
-
-
+
Description
Add a node to a tree.
@@ -121,8 +120,7 @@ mxmlAdd(
Returns
Nothing.
-
-
+
Description
Delete a node and all of its children.
@@ -143,8 +141,7 @@ mxmlDelete(
Returns
Nothing.
-
-
+
Description
Get an attribute.
@@ -167,8 +164,7 @@ mxmlElementGetAttr(
Returns
Attribute value or NULL
-
-
+
Description
Set an attribute.
@@ -195,8 +191,7 @@ mxmlElementSetAttr(
Returns
Nothing.
-
-
+
Description
Add a callback to convert entities to Unicode.
Syntax
@@ -209,8 +204,7 @@ mxmlEntityAddCallback(void);
Returns
0 on success, -1 on failure
-
-
+
Description
Get the name that corresponds to the character value.
@@ -230,8 +224,7 @@ mxmlEntityGetName(
Returns
Entity name or NULL
-
-
+
Description
Get the character corresponding to a named entity.
@@ -252,8 +245,7 @@ mxmlEntityGetValue(
Returns
Character value or -1 on error
-
-
+
Description
Remove a callback.
Syntax
@@ -266,8 +258,7 @@ mxmlEntityRemoveCallback(void);
Returns
Nothing.
-
-
+
Description
Find the named element.
@@ -304,8 +295,7 @@ mxmlFindElement(
Returns
Element node or NULL
-
-
+
Description
Delete an index.
Syntax
@@ -323,8 +313,7 @@ mxmlIndexDelete(
Returns
Nothing.
-
-
+
Description
Return the next node in the index.
@@ -344,8 +333,7 @@ mxmlIndexEnum(
Returns
Next node or NULL if there is none
-
-
+
Description
Find the next matching node.
@@ -372,8 +360,7 @@ mxmlIndexFind(
Returns
Node or NULL if none found
-
-
+
Description
Create a new index.
@@ -401,8 +388,7 @@ mxmlIndexNew(
Returns
New index
-
-
+
Description
Reset the enumeration/find pointer in the index and
return the first node in the index.
@@ -424,8 +410,7 @@ mxmlIndexReset(
Returns
First node or NULL if there is none
-
-
+
Description
Load a file descriptor into an XML node tree.
@@ -456,8 +441,7 @@ mxmlLoadFd(
Returns
First node or NULL if the file could not be read.
-
-
+
Description
Load a file into an XML node tree.
@@ -488,8 +472,7 @@ mxmlLoadFile(
Returns
First node or NULL if the file could not be read.
-
-
+
Description
Load a string into an XML node tree.
@@ -520,8 +503,7 @@ mxmlLoadString(
Returns
First node or NULL if the string has errors.
-
-
+
Description
Create a new CDATA node.
@@ -548,8 +530,7 @@ mxmlNewCDATA(
Returns
New node
-
-
+
Description
Create a new custom data node.
@@ -576,8 +557,7 @@ mxmlNewCustom(
Returns
New node
-
-
+
Description
Create a new element node.
@@ -601,8 +581,7 @@ mxmlNewElement(
Returns
New node
-
-
+
Description
Create a new integer node.
@@ -626,8 +605,7 @@ mxmlNewInteger(
Returns
New node
-
-
+
Description
Create a new opaque string.
@@ -652,8 +630,7 @@ mxmlNewOpaque(
Returns
New node
-
-
+
Description
Create a new real number node.
@@ -677,8 +654,7 @@ mxmlNewReal(
Returns
New node
-
-
+
Description
Create a new text fragment node.
@@ -706,8 +682,7 @@ mxmlNewText(
Returns
New node
-
-
+
Description
Create a new formatted text fragment node.
@@ -737,8 +712,7 @@ mxmlNewTextf(
Returns
New node
-
-
+
Description
Remove a node from its parent.
@@ -759,8 +733,7 @@ mxmlRemove(
Returns
Nothing.
-
-
+
Description
Save an XML node tree to an allocated string.
@@ -790,8 +763,7 @@ mxmlSaveAllocString(
Returns
Allocated string or NULL
-
-
+
Description
Save an XML tree to a file descriptor.
@@ -817,8 +789,7 @@ mxmlSaveFd(
Returns
0 on success, -1 on error.
-
-
+
Description
Save an XML tree to a file.
@@ -844,8 +815,7 @@ mxmlSaveFile(
Returns
0 on success, -1 on error.
-
-
+
Description
Save an XML node tree to a string.
@@ -877,8 +847,7 @@ mxmlSaveString(
Returns
Size of string
-
-
+
Description
Set the element name of a CDATA node.
@@ -902,8 +871,7 @@ mxmlSetCDATA(
Returns
0 on success, -1 on failure
-
-
+
Description
Set the data and destructor of a custom data node.
@@ -927,8 +895,7 @@ mxmlSetCustom(
Returns
0 on success, -1 on failure
-
-
+
Description
Set the handling functions for custom data.
@@ -954,8 +921,7 @@ mxmlSetCustomHandlers(
Returns
Nothing.
-
-
+
Description
Set the name of an element node.
@@ -977,8 +943,7 @@ mxmlSetElement(
Returns
0 on success, -1 on failure
-
-
+
Description
Set the error message callback.
Syntax
@@ -991,8 +956,7 @@ mxmlSetErrorCallback(void);
Returns
Nothing.
-
-
+
Description
Set the value of an integer node.
@@ -1014,8 +978,7 @@ mxmlSetInteger(
Returns
0 on success, -1 on failure
-
-
+
Description
Set the value of an opaque node.
@@ -1037,8 +1000,7 @@ mxmlSetOpaque(
Returns
0 on success, -1 on failure
-
-
+
Description
Set the value of a real number node.
@@ -1060,8 +1022,7 @@ mxmlSetReal(
Returns
0 on success, -1 on failure
-
-
+
Description
Set the value of a text node.
@@ -1085,8 +1046,7 @@ mxmlSetText(
Returns
0 on success, -1 on failure
-
-
+
Description
Set the value of a text node to a formatted string.
@@ -1112,8 +1072,7 @@ mxmlSetTextf(
Returns
0 on success, -1 on failure
-
-
+
Description
Walk to the next logical node in the tree.
@@ -1139,8 +1098,7 @@ mxmlWalkNext(
Returns
Next node or NULL
-
-
+
Description
Walk to the previous logical node in the tree.
@@ -1166,7 +1124,7 @@ mxmlWalkPrev(
Returns
Previous node or NULL
-
+
-
-
+
Description
Data types...
Definition
@@ -1196,8 +1153,7 @@ struct mxml_attr_s
value | Attribute value |
-
-
+
Description
An XML custom value.
Definition
@@ -1214,8 +1170,7 @@ struct mxml_custom_s
data | Pointer to (allocated) custom data |
-
-
+
Description
An XML element value.
Definition
@@ -1236,8 +1191,7 @@ struct mxml_element_s
num_attrs | Number of attributes |
-
-
+
Description
An XML node index.
Definition
@@ -1262,8 +1216,7 @@ struct mxml_index_s
num_nodes | Number of nodes in index |
-
-
+
Description
An XML node.
Definition
@@ -1292,8 +1245,7 @@ struct mxml_node_s
value | Node value |
-
-
+
Description
An XML text value.
Definition
@@ -1312,7 +1264,7 @@ struct mxml_text_s
whitespace | Leading whitespace? |
-
+
-
-
+
Description
Data types...
Definition
@@ -1334,8 +1285,7 @@ struct mxml_text_s
typedef struct mxml_attr_s mxml_attr_t;
-
-
+
Description
Custom data load callback function
Definition
@@ -1343,8 +1293,7 @@ typedef struct mxml_attr_s mxml_attr_t;
typedef int (*mxml_custom_load_cb_t)(mxml_node_t *, const char *);
-
-
+
Description
Custom data save callback function
Definition
@@ -1352,8 +1301,7 @@ typedef int (*mxml_custom_load_cb_t)(mxml_node_t *, c
typedef char * (*mxml_custom_save_cb_t)(mxml_node_t *);
-
-
+
Description
An XML custom value.
Definition
@@ -1361,8 +1309,7 @@ typedef char * (*mxml_custom_save_cb_t)(mxml_node_t *
typedef struct mxml_custom_s mxml_custom_t;
-
-
+
Description
An XML element value.
Definition
@@ -1370,8 +1317,7 @@ typedef struct mxml_custom_s mxml_custom_t;
typedef struct mxml_element_s mxml_element_t;
-
-
+
Description
An XML node index.
Definition
@@ -1379,8 +1325,7 @@ typedef struct mxml_element_s mxml_element_t;
typedef struct mxml_index_s mxml_index_t;
-
-
+
Description
An XML node.
Definition
@@ -1388,8 +1333,7 @@ typedef struct mxml_index_s mxml_index_t;
typedef struct mxml_node_s mxml_node_t;
-
-
+
Description
An XML text value.
Definition
@@ -1397,8 +1341,7 @@ typedef struct mxml_node_s mxml_node_t;
typedef struct mxml_text_s mxml_text_t;
-
-
+
Description
An XML node value.
Definition
@@ -1406,13 +1349,12 @@ typedef struct mxml_text_s mxml_text_t;
typedef union mxml_value_u mxml_value_t;
-
+
-
-
+
Description
An XML node value.
Definition
diff --git a/mxmldoc.c b/mxmldoc.c
index ffbf721..2f3de71 100644
--- a/mxmldoc.c
+++ b/mxmldoc.c
@@ -2216,6 +2216,7 @@ write_documentation(
"\tpre { font-weight: bold; color: #7f0000; margin-left: 2em; }\n"
"\tspan.info { font-weight: bold; font-style: italic; color: #ffffff; background: #000000; }\n"
"\th3 span.info { float: right; }\n"
+ "\th1.title, h2.title, h3.title { border-bottom: solid 2px #000000; }\n"
"\t-->\n"
"\n"
"\n", title);
@@ -2240,7 +2241,7 @@ write_documentation(
* Table of contents...
*/
- puts("Contents
");
+ puts("Contents
");
puts("");
if (find_public(doc, doc, "class"))
puts("\t- Classes
");
@@ -2265,7 +2266,7 @@ write_documentation(
if (find_public(doc, doc, "class"))
{
puts("\n"
- "\n"
+ "\n"
"");
for (scut = find_public(doc, doc, "class");
@@ -2288,8 +2289,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST);
printf("\n"
- "\n"
- "
\n", cname, cname, get_comment_info(description));
+ "\n",
+ cname, cname, get_comment_info(description));
if (description)
{
@@ -2450,7 +2451,7 @@ write_documentation(
if (find_public(doc, doc, "enumeration"))
{
puts("\n"
- "\n"
+ "\n"
"");
for (scut = find_public(doc, doc, "enumeration");
@@ -2473,8 +2474,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST);
printf("\n"
- "\n"
- "
\n", name, name, get_comment_info(description));
+ "\n",
+ name, name, get_comment_info(description));
if (description)
{
@@ -2516,7 +2517,7 @@ write_documentation(
if (find_public(doc, doc, "function"))
{
puts("\n"
- "\n"
+ "\n"
"");
for (function = find_public(doc, doc, "function");
@@ -2539,8 +2540,8 @@ write_documentation(
description = mxmlFindElement(function, function, "description", NULL,
NULL, MXML_DESCEND_FIRST);
printf("\n"
- "\n"
- "
\n", name, name, get_comment_info(description));
+ "\n",
+ name, name, get_comment_info(description));
if (description)
{
@@ -2640,7 +2641,7 @@ write_documentation(
if (find_public(doc, doc, "struct"))
{
puts("\n"
- "\n"
+ "\n"
"");
for (scut = find_public(doc, doc, "struct");
@@ -2663,8 +2664,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST);
printf("\n"
- "\n"
- "
\n", cname, cname, get_comment_info(description));
+ "\n",
+ cname, cname, get_comment_info(description));
if (description)
{
@@ -2803,7 +2804,7 @@ write_documentation(
if (find_public(doc, doc, "typedef"))
{
puts("\n"
- "\n"
+ "\n"
"");
for (scut = find_public(doc, doc, "typedef");
@@ -2826,8 +2827,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST);
printf("\n"
- "\n"
- "
\n", name, name, get_comment_info(description));
+ "\n",
+ name, name, get_comment_info(description));
if (description)
{
@@ -2923,7 +2924,7 @@ write_documentation(
if (find_public(doc, doc, "union"))
{
puts("\n"
- "\n"
+ "\n"
"");
for (scut = find_public(doc, doc, "union");
@@ -2946,8 +2947,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST);
printf("\n"
- "\n"
- "
\n", name, name, get_comment_info(description));
+ "\n",
+ name, name, get_comment_info(description));
if (description)
{
@@ -3005,7 +3006,7 @@ write_documentation(
if (find_public(doc, doc, "variable"))
{
puts("\n"
- "\n"
+ "\n"
"");
for (arg = find_public(doc, doc, "variable");
@@ -3028,8 +3029,8 @@ write_documentation(
description = mxmlFindElement(arg, arg, "description", NULL,
NULL, MXML_DESCEND_FIRST);
printf("\n"
- "\n"
- "
", name, name, get_comment_info(description));
+ "\n",
+ name, name, get_comment_info(description));
if (description)
{