public int pi_6() { using (XmlWriter w = CreateWriter()) { w.WriteStartElement("Root"); w.WriteProcessingInstruction("xmlns", "text"); w.WriteEndElement(); } return (CompareReader("<Root><?xmlns text?></Root>") ? TEST_PASS : TEST_FAIL); }