Method and device for processing data

The invention discloses a method and a device for processing data. The method and the device are used for binding the data when extensible markup language and hypertext markup language (HTML) interact with each other. The method for processing the data includes reading element data of preset XML (ex...

Full description

Saved in:
Bibliographic Details
Main Authors CHENG QIANLONG, WU ZHIWEI, CHENG RENBO, LI QUAN
Format Patent
LanguageEnglish
Published 25.03.2015
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a method and a device for processing data. The method and the device are used for binding the data when extensible markup language and hypertext markup language (HTML) interact with each other. The method for processing the data includes reading element data of preset XML (extensible markup language) documents; acquiring one tag or a plurality of tags of HTML files corresponding to the preset XML documents; parsing the tags to obtain attributes of the tags; mapping the element data into the tags according to the attributes and generating the bound data; calling the bound data and displaying the bound data on WEB pages corresponding to the HTML files. The tags are used as containers for storing the bound data. According to the technical scheme, the method and the device have the advantages that the XML data and the HTML can be bound with one another during XML and HTML interaction application development only by means of simple configuration and calling, and accordingly purposes of reducing the cost and increasing the development speed can be achieved.
Bibliography:Application Number: CN20131418396