Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Global naming method for XML element and type

An extended markup language and type technology, applied in electrical components, special data processing applications, instruments, etc., can solve problems such as cumbersome processing methods, low efficiency, and no solutions, and achieve the effect of saving additional costs

Inactive Publication Date: 2005-06-29
INST OF SOFTWARE - CHINESE ACAD OF SCI +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using the processing method of XPath, it is necessary to write its specific path according to the specific XML document structure. For a large number of XML documents with different structures but similar elements or types, we can only use the corresponding XPath for each document to find This element, in this case, is very cumbersome and inefficient
[0004] How to name the elements and types in XML documents so that elements with the same definition in different XML documents can be found through unique names has always been a concern in the industry, and there is no solution yet

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
  • Global naming method for XML element and type

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Such as figure 1 As shown, the global naming method of XML elements and types of the present invention includes the following steps:

[0029] 10) Name the global element as "{element}{+target namespace+}+name attribute value of the element";

[0030] 20) Name the global complex type as "{type}{+target namespace+}+name attribute value of the complex type";

[0031] 30) naming the local complex type as the global name of the parent element of the local complex type;

[0032] 40) Name the local element as "the global name of the complex type containing the local element + " / " + the name attribute value of the local element";

[0033] 50) Name simple types the global names of their underlying types.

[0034] Use the target namespace as part of the global name of the global element, so that global elements with the same name attribute value in different schemas can be distinguished; as for the naming of the global complex type; Invisible, so its name can be ignored, so w...

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

This invention discloses a whole name method of an extension marking languages and types, which comprises the following steps: first to name the whole element as '{element}{+object space name}+ element property '; second to name the whole complex type as '{type}{+object name space+}+ complex type name property'; third to name the local element name as 'the whole name with the local element complex type+' / '+ the local element name property'; fourth to name the local complex type as the whole name of the local complex type father element; fifth to name the simple type as its whole name of the basic type.

Description

technical field [0001] The invention relates to the field of extensible markup language, in particular to a global naming method for elements and types of extensible markup language for globally naming the elements and types of parent-child relationships in extensible markup language files. Background technique [0002] With the rapid development of the Internet, XML (Extensible Markup Language), as a new standard for data representation on the Internet, is being widely used on the Web due to its advantages of self-description, flexibility, scalability, and platform independence. In the process of data transmission and data storage. [0003] W3C (World Wide Web Consortium, XML Standards Organization) has launched a series of XML-related technologies and standards, among which XPath (XML Path Expression Standard) can be used to perform an element and its sub-elements and attributes in a specific XML file. Positioning, a parser that supports XPath can quickly analyze a specif...

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/21G06F17/30H04L29/06
Inventor 李安渝严兵傅朝霞秦良娟丁蔚耿建光秦怀平董胜涛
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products