XML Examples

The following examples illustrate using XML with the Web Services for Windows API:

An example that writes and reads xml using an XML buffer ReadWriteXmlExample

An example that writes and reads binary data using MTOM, WsWriteBytes, WsPushBytes, and WsPullBytes ReadWriteBytesXmlExample

An example that navigates an XML buffer NavigateXmlExample

An example that reads an XML document node by node ReadXmlExample

An example that find and displays an XML attribute ReadAttributeExample

An example that writes and reads an array of elements ReadWriteArrayExample

An example that shows the use of some XML buffer helper functions XmlBufferExample

An example that inserts an element into an XML buffer InsertElementExample

An example that writes and reads derived type using wsutil generated helper functions DerivedTypeExample