XML Text Conversion
Introduction
This sample shows how to use XmlSerializer, XmlPullParser, and ConvertXML to generate an XML text, parse the XML text, and convert the XML text into a JavaScript object, respectively.
Usage
-
Touch Xml Serializer to generate an XML text and display the text content in the text box above the button.
-
Touch Xml Pull Parser to parse the preset XML text and display the parsed information in the text box above the button.
-
Touch XML Convert to convert the preset XML text into a JavaScript object and display the object in the text box above the button.
Constraints
This sample can only be run on standard-system devices.