XML (extensive markup language) data operating method and device

An operation method and data technology, applied in the computer field, can solve the problems of wasting development cycles and development costs, and achieve the effects of improving efficiency, reducing writing, and increasing learning costs

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

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for operating XML data, which are used to solve the problem of wasti

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
  • XML (extensive markup language) data operating method and device
  • XML (extensive markup language) data operating method and device
  • XML (extensive markup language) data operating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] 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 many different ways defined and covered by the claims.

[0023] figure 1 It represents the flowchart of the operation method of the XML data described in the embodiment of the present invention.

[0024] see figure 1 As shown, the method of converting JAVA object parameters into xquery statements may include:

[0025] S101: configure the XML path corresponding to the JAVA object through the configuration file of each JAVA object;

[0026] S103: Convert the JAVA object into an xquery statement in the XML path according to preset program rules;

[0027] S105: Operate the XML data by using the xquery statement.

[0028] In this embodiment, step S101 configures the XML path corresponding to the JAVA object in a configuration file for each JAVA object, and specifies the location for operating the xml, that...

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 an XML (extensive markup language) data operating method and device and aims to quickly objects in JAVA into XQuery statements. The method includes: configuring an XML path of each JAVA object through a configuration file of each JAVA object; in the XML path, converting the JAVA object into an XQuery statement according to preset program rules, and operating XML data through the XQuery statement. By the application of the method wherein the object is converted into the XQuery statement on the basis of the JAVA language, XQuery statements can be decreased by over 95% for compilation, developing efficiency of JAVA web developers is greatly improved, and cost is saved.

Description

technical field [0001] The present invention relates to the field of computers, and more specifically, to a method and device for operating XML data. Background technique [0002] In the publishing industry, a large amount of unstructured and semi-structured data, such as book directory structure, document format and other deeply nested data, is facing storage problems. It is difficult to solve it with relational data; XML is used as the carrier of data storage. It is very suitable for this application scenario. It has the characteristics of hierarchical structure and deep nesting. It can be flexible and free to describe diverse data. At the same time, XML is also a w3c standard, so it has the characteristics of convenient and fast transplantation. [0003] XML solves the problem of data storage. In java web program development, the java program uses xquery to operate XML data. In the java program, the data exists in the form of objects. If java objects and XML data are exch...

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/84
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