From e516c967f91f941f69bf7e44b937bd8e194de4d6 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Mon, 5 Jan 2009 19:59:42 +0000 Subject: Fixed documentation bug (parse() sample) git-svn-id: http://pugixml.googlecode.com/svn/trunk@94 99668b35-9821-0410-8761-19e4c4f06640 --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index a0cf022..421af95 100644 --- a/docs/index.html +++ b/docs/index.html @@ -147,7 +147,7 @@ an XML file were measured. char* s = new char[100]; strcpy(s, "<sample-xml>some text <b>in bold</b> here</sample-xml>"); - cout << doc.parse(transfer_ownership_tag(), s) << endl; + cout << doc.parse(s) << endl; delete[] s; // <-- after this point, all string contents of document is invalid! } -- cgit v1.2.3