Formatting method and formatting device for XML structured data
A structured data and data technology, applied in the direction of electronic digital data processing, special data processing applications, natural language data processing, etc., can solve the troublesome problems of XML structured data typesetting, reduce the difficulty of typesetting, and improve the effect of typesetting efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] (1) Create a table component object in the template, and add sample content in the table component object.
[0055] Preferably, the example content includes one or a combination of the following: table title, table note, table.
[0056] (2) Add styles to the example content.
[0057] Preferably, add a paragraph style and a text style for the table title, add a paragraph style and a text style for the table note, and add a table frame style for the table.
[0058] (3) According to the tabular data in the XML structured data to be typeset, add tags to the example content.
[0059] (4) Add XPath mapping conditions for the table component object.
[0060] (5) Typesetting the tabular data in the XML structured data into the style added in step (2). By matching the tags in step (3), replace the tabular data in the XML structured data with the sample content. According to the XPath mapping condition, match the corresponding table component object for each table data in the...
Embodiment 2
[0063] (1) Create a picture component object in the template, and add sample content in the picture component object.
[0064] Preferably, the example content includes: a picture title and / or a picture note.
[0065] (2) Add styles to the example content.
[0066] Preferably, add a paragraph style and a text style for the figure title, and add a paragraph style and a text style for the table note.
[0067] (3) According to the image data in the XML structured data to be typeset, add tags to the example content.
[0068] (4) Add XPath mapping conditions for the image component object.
[0069] (5) Typesetting the image data in the XML structured data into the style added in step (2). By matching the tags in step (3), the image data in the XML structured data is replaced with sample content. According to the XPath mapping condition, match the corresponding picture component object for each picture data in the XML structured data.
Embodiment 3
[0071] (1) Create a formula component object in the template, and add sample content in the formula component object.
[0072] Preferably, the example content includes: a formula and / or a number.
[0073] (2) Add styles to the example content.
[0074] Preferably, add paragraph and text styles for equations, and paragraph and text styles for numbering. You can also add text-right, text-left, or text-center styles to the numbers.
[0075] (3) According to the formula data in the XML structured data to be typeset, add tags to the example content.
[0076] (4) Add the property that the formula is independently lined up for the formula component object.
[0077] (5) Typesetting the formula data in the XML structured data into the style added in step (2). By matching the tags in step (3), replace the formula data in the XML structured data with the sample content. According to the attributes in step (4), the formula data in the XML structured data is formatted in the form of i...
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