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

Active Publication Date: 2018-07-24
NEW FOUNDER HLDG DEV LLC +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if there are tabular data, chart data, and formula data in the XML structured data, it is more troublesome to format the XML structured data

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
  • Formatting method and formatting device for XML structured data
  • Formatting method and formatting device for XML structured data
  • Formatting method and formatting device for XML structured data

Examples

Experimental program
Comparison scheme
Effect test

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...

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 brings forward a formatting method and formatting device for XML structured data. The formatting method for XML structured data comprises the following steps: creating an assembly objectin a template, wherein the assembly object comprises a table assembly object, a picture assembly object or a formula assembly object; adding example content into the assembly object; adding a patternand a label into the example content; and formatting the XML structured data according to the pattern and the label. Through the technical scheme, table data, picture data and formula data of the XMLstructured data can be more conveniently formatted. Therefore, formatting difficulty is reduced and formatting efficiency is increased.

Description

technical field [0001] The invention relates to the technical field of data typesetting, in particular to a typesetting method for XML structured data and a typesetting device for XML structured data. Background technique [0002] The field of composite publishing requires XML (Extensible Markup Language, Extensible Markup Language) structured data as the core, minimize repetitive manual labor in the data processing link, and improve the efficiency and reusability of data processing. By applying a unified template for XML structured data, the XML structured data can be automatically typeset, organized and published. However, if there are tabular data, chart data and formula data in the XML structured data, then it is troublesome to format the XML structured data. [0003] Therefore, how to format XML structured data more conveniently has become a technical problem to be solved urgently. Contents of the invention [0004] Based on the above problems, the present invention...

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/25G06F17/22G06F40/189
CPCG06F40/14G06F40/189
Inventor 王婷杨燕菲
Owner NEW FOUNDER HLDG DEV LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products