From 38f6e7dcef7627ec72dd82c05e982d2cbede47d9 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 2 Dec 2011 18:12:42 +0000 Subject: [PATCH] Clearer documentation and missing delimiter in xml.cc. --- xml.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xml.cc b/xml.cc index d5f2a509c..b3715f602 100644 --- a/xml.cc +++ b/xml.cc @@ -90,12 +90,13 @@ /* This is a simple library for writing XML. It handles two main things: keeping track of the element stack, and escaping text where necessary. -Here is an example of writing +If you wanted to write this XML: -Each function call is followed by the text it prints enclosed in ||. +these are the functions you would call. Each one is followed by the text +it prints enclosed in ||. -xml_start_document() | +xml_start_document() || xml_newline(); |\n| xml_open_start_tag("elem"); |