FastInfosetWriter.WriteText
WriteText(<Text>)
Type:
String.
Content that is placed into an XML element.
Writes element text. Before calling this method, you must call method
FastInfosetWriter.WriteStartElement, otherwise it is impossible to tell, to which element the text belongs. Multiple calls to this method can be made for a single element. That is, element contents can be written in parts.
Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).
XMLRecord.WriteStartElement("fruits"); XMLRecord.WriteStartElement("apple"); XMLRecord.WriteText("very tasty"); XMLRecord.WriteEndElement(); XMLRecord.WriteEndElement();
|