Extensible markup language coding method, decoding method and client

The invention provides extensible markup language coding method, decoding method and client. The coding method comprises the following steps of: acquiring a binary tree corresponding to a data structure to be coded by the client, wherein the nodes of the binary tree are in one-to-one correspondence...

Full description

Saved in:
Bibliographic Details
Main Author ZHANG GUILAN
Format Patent
LanguageChinese
English
Published 28.11.2012
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides extensible markup language coding method, decoding method and client. The coding method comprises the following steps of: acquiring a binary tree corresponding to a data structure to be coded by the client, wherein the nodes of the binary tree are in one-to-one correspondence with data structure members in the data structure and the related information of the data structuremembers corresponding to the nodes are stored in the nodes; traversing the binary tree by the client, acquiring the values of the data structure members corresponding to the traversed nodes as XML (extensive markup language) elements from the data structure according to the related information of the data structure members which are stored by the traversed nodes; and generating XML texts according to the XML elements by the client. The invention can effectively improve the coding and decoding efficiency of XML.
Bibliography:Application Number: CN20091265979