XML (X Exrensible Markup Language) text positioning method based on DOM (Document Object Model) model
A text positioning and text technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as low efficiency and mapping, and achieve the effect of speeding up
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.
[0028] The first embodiment of the present invention relates to a method for locating XML text based on the DOM model, and its specific flow chart is as follows figure 1 shown.
[0029] In step 101, the initial text length, text index and text offset of the node object are stored on the node object of the DOM model; the text index is: the initial position of the XML text of the node object in the entire XML text; the text offset The quantity is: after the XML text of the node object is modified, the difference between the modified text length and the initial text length. In this embodiment, the initial value of the text offset is 0.
[0030] In this step: for a leaf node, the initial text length is the length of all XML texts correspon...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com