Covert XML string output to XML file

mojomojo

New Member
I am using XMWrite class for generating XML file,but after generating my xml string I am not able to convert in to XML file formate,.m code\[code\][xmlWriter writeEndElement];[xmlWriter writeStartElement:@"Miniparent"];[xmlWriter writeStartElement:@"Child"];[xmlWriter writeCharacters:@"Text content for root element"];[xmlWriter writeEndElement];[xmlWriter writeStartElement:@"Child"];[xmlWriter writeCharacters:@"Text content for root element"];[xmlWriter writeEndElement];\[/code\]Console output\[code\]<Miniparent><Child>Text content for root element</Child><Child>Text content for root element</Child><Child>Text content for root element</Child></Miniparent>\[/code\]Guide me,Thank you
 
Back
Top