• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# XML Text Conversion
2
3### Introduction
4
5This 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.
6
7### Usage
8
91. Touch **Xml Serializer** to generate an XML text and display the text content in the text box above the button.
10
112. Touch **Xml Pull Parser** to parse the preset XML text and display the parsed information in the text box above the button.
12
133. Touch **XML Convert** to convert the preset XML text into a JavaScript object and display the object in the text box above the button.
14
15### Constraints
16
17This sample can only be run on standard-system devices.
18