Unlock instant, AI-driven research and patent intelligence for your innovation.

XML file processing method and device

A processing method and file technology, applied in the field of XML, can solve the problems of not being converted and the information of XML files not being adjusted.

Active Publication Date: 2019-07-16
NEW FOUNDER HLDG DEV LLC +1
View PDF5 Cites 0 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 processing XML files, which are used to solve the problem that information added or deleted in HTML files cannot be converted into XML files, and the information in XML files is not adjusted

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 file processing method and device
  • XML file processing method and device
  • XML file processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. Rather, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0053] First, explain the terms involved in the present invention:

[0054] XML: is a markup language used to mark electronic documents to make them structured; it can be used to mark data and define data types. It is a source language that allows users to define their markup language.

[0055] HTML: is an application under the standard universal markup language, it is also a standar...

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 provides an XML file processing method and device. The method comprises the following steps: analyzing a to-be-processed XML file to generate an XML object tree; generating an intermediate object tree according to the XML object tree, wherein each XML node in the XML object tree is in one-to-one correspondence with each intermediate object node in the intermediate object tree; generating an HTML object tree according to the intermediate object tree, wherein each intermediate object node is associated with each HTML node in the HTML object tree; synchronously editing and processing an intermediate object node associated with the HTML node in the intermediate object tree, and generating an edited intermediate object tree; converting the edited intermediate object tree into a new XML object tree; and converting the new XML object tree into a new XML file. It is guaranteed that information in the XML file can be adjusted, the problem that newly-added information is lost is solved, and the problem that deleted information is not deleted is solved.

Description

Technical field [0001] The present invention relates to the field of XML technology, in particular to a method and device for processing XML files. Background technique [0002] With the continuous development of network technology, web pages are used to display data and so on. Most web pages now use Extensible Markup Language (XML) technology. When web pages need to be edited, XML files are usually edited. [0003] In the prior art, when performing online visual editing on a webpage, online visual editing is performed on an XML file. Specifically, the XML file is first converted to a Hyper Text Markup Language (HTML) file, and then the Edit the HTML file, and then convert the edited HTML file into an XML file. [0004] However, in the prior art, when editing an HTML file, some information is added to the HTML file or some information is deleted; however, when the edited HTML file is converted into an XML file, the HTML file and Correspondence between XML files, information added ...

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): G06F16/84G06F17/22
CPCG06F40/154G06F16/84
Inventor 王全鹏狄慧慧白羽羽原慧宸
Owner NEW FOUNDER HLDG DEV LLC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More