Method and device for processing data

A data processing device and data processing technology, applied in the network field, can solve problems such as development difficulties, and achieve the effect of simplifying development work and reducing development difficulty

Inactive Publication Date: 2015-03-25
FOUNDER INFORMATION IND HLDG +1
View PDF12 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a data processing method and device, which are used to solve the pr

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for processing data
  • Method and device for processing data
  • Method and device for processing data

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0032] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, but the present invention can be implemented in a variety of different ways defined and covered by the claims.

[0033] figure 1 Shows the flowchart of the data processing method according to the embodiment of the present invention.

[0034] See figure 1 As shown, the data processing method includes:

[0035] S101: Read element data of a preset XML document;

[0036] S103: Obtain one or more tags of the HTML file corresponding to the preset XML document, where the tags are used as a container for storing bound data;

[0037] S105: Parse the tag to obtain the attribute of the tag;

[0038] S107: Map the element data to the tag according to the attribute to generate the binding data;

[0039] S109: Call the binding data and display it on the WEB page corresponding to the HTML file.

[0040] In the above technical solution of this embodiment, the preset XML document i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

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.

Description

technical field [0001] The present invention relates to the field of network technology, and more specifically, to a data processing method and device. Background technique [0002] Extensible Markup Language (XML) is a markup language used to mark electronic files to make them structural. It can be used to mark data and define data types. It is a source that allows users to define their own markup languages. language. XML is a subset of Standard Generalized Markup Language (SGML) that is well suited for Web transport. XML provides a uniform method to describe and exchange structured data independent of application or vendor. Due to the simplicity and ease of use of the XML data format, more and more applications have used XML as an intermediate format to transmit and store data, and its focus is on the content of the data. [0003] Hypertext Markup Language (HTML), a markup language used to describe web documents. In existing WEB applications, HTML is mainly used as the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
CPCG06F16/84G06F16/958
Inventor 李泉程任波程谦龙吴志伟
Owner FOUNDER INFORMATION IND HLDG
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products