Lines Matching refs:xw
10 $xw = xmlwriter_open_memory();
11 xmlwriter_start_document($xw, NULL, "UTF-8");
12 xmlwriter_start_dtd($xw, "root");
13 xmlwriter_write_dtd_entity($xw, "ent2", "val2");
14 xmlwriter_end_dtd($xw);
15 xmlwriter_start_element($xw, "root");
16 xmlwriter_end_document($xw);
17 print xmlwriter_flush($xw, true);
20 $xw = new XMLWriter();
21 $xw->openMemory();
22 $xw->startDocument(NULL, "UTF-8");
23 $xw->startDtd("root");
24 $xw->writeDtdEntity("c", NULL, 0, "-//W3C//TEXT copyright//EN", "http://www.w3.org/xmlspec/copyrigh…
25 $xw->endDtd();
26 $xw->startElement("root");
27 $xw->endDocument();
28 print $xw->flush(true);