3 #include "xml-template.h"
7 int main(int argc, char **argv)
9 Substitute master_directive = {
10 make_pair("title", new Replace("Namespace tests")),
11 make_pair("#hello", new Replace("Hello world!")),
12 make_pair("#test", new Replace("Replaced.")),
13 make_pair("tagname", new Replace("foo")),
14 make_pair("#moretest", new Replace("bar")),
17 xmlDocPtr doc = process_file("../xml/namespace.xml", &master_directive);
18 output_to_fd_and_free(doc, 1);