XML data XPath search method based on SQL structured search language

A structured query, XML database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of poor versatility and incompatibility between two languages

Inactive Publication Date: 2009-01-21
西安中电商务信息技术有限公司
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides an XML data XPath query method based on the SQL structured query language to solve the problems of poor versatility and incompatibility between the two languages ​​in the prior art

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 data XPath search method based on SQL structured search language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The present invention provides an XML data XPath query method based on the SQL structured query language, aiming at solving the inconsistency of query standards existing in the prior art. To query XML data, it is necessary to first obtain an XML document, and then use XPath to perform a query. , which makes the user's development work more complicated and requires an in-depth understanding of XML and XPath technologies.

[0014] The implementation example of the present invention is realized like this, a kind of XML data XPath query method based on SQL structured query language, described method comprises the following steps:

[0015] The absolute path or mapping location of the XML data document provided by the user for query;

[0016] Analyze the security and integrity of XML data files provided by users;

[0017] When the analysis is completed, if there is no problem, return the current operation library table name to the user;

[0018] The user enters the query SQ...

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 data base XPath query method on the basis of SQL structured quary language. The method comprises: firstly, analyzing and processing SQL sentences, then, transforming the SQL sentences into XPath sentences, and executing XPath sentence query. The method realizes the conversion between two query languages which are not communicated originally and allows using SQL language when XML data bases and XML data files are inquired. The method realizes a novel and practical method for inquiring the XML data bases and the XML data files.

Description

technical field [0001] The present invention designs a kind of XML data XPath query method based on SQL structured query language, especially a kind of query language SQL (Structural Query Language, relational data query standard) is converted into extensible markup language in any XML database and XML data file The invention relates to an XPath method for path query, which belongs to the technical field of database and information system. Background technique [0002] Although the relational database is already a very mature application, the field-based approach can provide precise data definition and control, but the disadvantage is that its data structure is relatively fixed. Once the data structure needs to be expanded, it must be realized by modifying the database table structure, and the scope of modification may involve the relationship with other tables and all the data in the data table. XML, on the other hand, uses a hierarchical tree structure as its storage arch...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 王建波江涛王鹤
Owner 西安中电商务信息技术有限公司
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