Node interception method, system and equipment based on rich text and storage medium
A node and text technology, applied in rich text-based node interception methods, equipment and storage media, and system fields, can solve problems such as the inability to accurately intercept the number of texts, and achieve the effect of wide applicability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] In order to make the object, technical solution, design method and advantages of the present invention clearer, the present invention will be further described in detail through specific embodiments below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0045] Such as figure 1 As shown, the present invention provides a kind of node intercepting method based on rich text, comprises the following steps:
[0046] (1) Obtain the DOM node of the original rich text through JavaScript.
[0047] (2) Generate an object tree by serializing DOM nodes. After obtaining the DOM node, traverse and query the child nodes, if the child node is a text node, delete special characters, such as: ";>;<;
\r\n|\r|\n, if the child node is an ordinary node, save the node attribute traversal to the object attribute. If the child node still ha...
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