CN116090428A - XML-based online collaborative tool book compiling system - Google Patents

XML-based online collaborative tool book compiling system Download PDF

Info

Publication number
CN116090428A
CN116090428A CN202310016223.6A CN202310016223A CN116090428A CN 116090428 A CN116090428 A CN 116090428A CN 202310016223 A CN202310016223 A CN 202310016223A CN 116090428 A CN116090428 A CN 116090428A
Authority
CN
China
Prior art keywords
xml
content
tool
template
compiling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310016223.6A
Other languages
Chinese (zh)
Inventor
何朝辉
张宏伟
王海勇
孙常莹
毛勇
刘仲飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongfang Knowledge Network Digital Publishing Technology Co ltd
Original Assignee
Tongfang Knowledge Network Digital Publishing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongfang Knowledge Network Digital Publishing Technology Co ltd filed Critical Tongfang Knowledge Network Digital Publishing Technology Co ltd
Priority to CN202310016223.6A priority Critical patent/CN116090428A/en
Publication of CN116090428A publication Critical patent/CN116090428A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • G06F16/835Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/232Orthographic correction, e.g. spell checking or vowelisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses an XML-based online collaborative tool book compiling system, which comprises an XML template tool, a project management system, an XML content editing system, an automatic verification tool and a digital publishing system; the XML template tool is used for setting an XML Schema template at a management end, realizing the control of the writing rule of the content compiling module and providing a verification basis; the project management system is used for setting tool compiling projects, items and tasks, and is responsible for extracting the XML content files according to the publishing templates, dynamically combining the XML content files into digital publications and publishing the digital publications in the digital publishing system; the XML content editing system dynamically adjusts the content compiling rules and verification rules of the content compiling module by calling the setting of the template setting module; and the automatic verification tool is used for automatically verifying rule validity of the content compiled in the content editor by calling rules set by the template of the XML Schema.

Description

XML-based online collaborative tool book compiling system
Technical Field
The invention relates to the technical field of computer document processing, in particular to an XML-based tool book online collaborative compiling system.
Background
The tool book is a book and literature specially used for searching data clues, and is a "device" for people to learn about the treasures in the mountain and learn about the seas, and related knowledge or literature data are collected widely according to specific needs and are organized according to a certain specific example and searching mode. With the continuous development of the tool books, the variety is also becoming more and more, and besides dictionaries, dictionaries and encyclopedias, annual certificates, manuals, standards, biographical data, geographical data and the like are also rapidly developed in the types of the tool books, and the tool books have multiple varieties and large scale, are comprehensive and have special or specialized properties.
In terms of the arrangement method, the tool book is arranged according to a specific example so as to show the tool book property and the easy detection property. The compilation work is the most important and complex stage in the publishing of the tool books. The tool book compiling work generally has the characteristics of more and scattered personnel, unified body requirement specification and heavy task coordination work, and the traditional compiling mode has a plurality of difficulties in coordination of work, unified body and manuscript, has lower working efficiency, and causes the phenomena of overtime compiling time, expense hyperbranched and the like. The online collaborative compiling has natural advantages in the work of the tool compiling, necessarily becomes the trend of the 'Internet+' times of tool compiling, and utilizes the computer technology to control the cost, the progress and the quality of the compiling project.
The existing domestic tool book compiling system is basically developed in a customized manner by a publishing agency, is built for a certain project, designs an item body according to a management mechanism and requirements of the published project, and is developed in a customized manner by compiling item contents for authors, previewing manuscripts and integrating manuscripts into manuscripts.
The above technology has the disadvantages that: the system has poor universality, and when the next tool book is compiled, the system can not be reused due to the difference of the body and the like, so that the waste of the existing resources is formed.
The prior art does not disclose the application related technology of using XML in collaborative editing of a tool book, wherein' patent publication number is: CN108959095A, patent name is a method for verifying XML document based on XML Schema, which uses Java language to realize DOM programming interface, analyzes XML document to obtain corresponding analysis document DOMdoc, and carries out integrity check to analysis document DOMdoc to judge whether grammar error exists and output error information. The method supports error information output and error information tracking, is convenient for data editors to know error reasons and quickly find grammar error positions, so as to accurately and quickly modify grammar errors. The patent only makes post-examination on the XML document by using XML Schema rules to prompt the error information of the XML. But cannot consider that in the XML process, the XML Schema rule is utilized to carry out process specification, so that subsequent errors of the XML are avoided.
"patent publication No.: according to the invention patent of CN108052490A and the online writing method and device of the patent name XML paper, inquiring a preset extensible markup language XML template outline library according to the input study object and study field to obtain an XML template outline matched with the study object and study field; and receiving the content input by the user according to the XML template outline, and generating a structured XML paper. The method can deliver and interact across platforms and publications, and can directly generate the HTML document of the hypertext markup language so as to facilitate network propagation and popularization. The XML template is simply applied to generate an XML outline, the user input content is received to generate an XML document, the problem that the author can flexibly adjust the compiling content only by meeting the rules in the process of compiling the tool book can not be met, and the flexibility of the XML is not exerted.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide an XML-based online collaborative tool book compiling system, which utilizes the flexibility of an XML Schema template, solves the requirements of various body formats in the tool book compiling process by setting different templates, ensures the flexibility and the standardization of the item compiling process, and improves the quality and the efficiency of the tool book compiling.
The aim of the invention is achieved by the following technical scheme:
an XML-based tool book online collaborative compilation system, comprising:
XML template tools, project management systems, XML content editing systems, automatic verification tools and digital publishing systems; the said
The XML template tool is used for setting an XML Schema template at the management end, realizing the control of the writing rule of the content compiling module and providing a verification basis;
the project management system is used for setting tool compiling projects, items and tasks, and is responsible for extracting the XML content files according to the publishing templates, dynamically combining the XML content files into digital publications and publishing the digital publications in the digital publishing system;
the XML content editing system dynamically adjusts the content compiling rules and verification rules of the content compiling module by calling the setting of the XML Schema template setting module tool;
and the automatic verification tool is used for automatically verifying rule validity of the content compiled in the content editor by calling rules set by the template of the XML Schema.
One or more embodiments of the present invention may have the following advantages over the prior art:
the quality and efficiency of tool book compiling are greatly improved, and the workload of post-check of project management staff is reduced.
The XML content editor is utilized to carry out the collaborative editing of the tool books, and after the editing is finished, the XML content editor can be converted into various file types, so that the subsequent processing of content resources is easier, and the XML content editor can be used for carrying out paper book publishing of tool books, can also be used for carrying out network publishing and is imported into various tools for further tool utilization.
Drawings
FIG. 1 is a block diagram of an XML-based tool book online collaborative compilation system;
FIG. 2 is a template diagram used in XML template tool compilation;
FIGS. 3, 4 are item template representations;
FIG. 5 is a flowchart of the XML content editing system;
FIG. 6 is a functional block diagram of an XML content editing system;
fig. 7 and 8 are views showing the compiled content on a preview page.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following examples and the accompanying drawings.
As shown in FIG. 1, the system frame is an XML-based online collaborative editing system for tool books, and consists of an XML template tool, a project management system, an XML content editing system, an automatic verification tool and a digital publishing system. The XML template tool realizes the control of the writing rule of the content compiling module and provides a verification basis by setting an XML Schema template at the management end; the project management system can set up tool book compiling projects, items and tasks; the XML content editing system realizes the dynamic adjustment of the content editing rule and verification rule of the content editing module by calling the setting of the template setting module; the automatic verification tool automatically verifies rule validity of the content compiled in the content editor by calling rules set by the XML Schema template; the project management system is responsible for extracting the XML content file according to the publishing template, dynamically combining the XML content file into a digital publication, publishing the digital publication to the digital publishing system,
the project management system comprises:
user management: all users of the management system, including project managers and authors, set login user names and passwords for the users. A common project management team and author team may be set according to daily work arrangements among members, each team optionally containing multiple users.
Project management: defining a tool compiling project, and setting a project management team and an author team for content compiling.
Entry management: the project management team is responsible for defining the tool book entries, including the entries, hierarchical relationships and types of the entries, selecting templates applicable to the entries from the XML template tools, and supporting version management of the entries.
And (3) task management: distributing compiling tasks for the author team compiling the tool book content by a project management team, and tracking task progress conditions; checking and accepting compiling tasks, returning non-conforming tasks, receiving conforming tasks, and giving new version numbers to vocabulary entries
And (3) release management: and supporting to export XML documents for all items of which the lexical tasks are checked and accepted, generating XML documents according to the setting of the XML templates, exporting the XML documents to the outside of the system in the form of interfaces or files, and providing the XML documents for digital publishing, operation services and other systems.
The XML template tool described above: through analysis, the vocabulary entries of the tool books define different components by using xml schema, and then the vocabulary entries suitable for all tool books can be selected according to configuration; templates (as shown in fig. 2) used in the tool compilation process are defined, and the template tools include a data template, a presentation template, a root node, a data node style, and a presentation style.
Root node: a starting element item for editing the content; such as: the root node of the new template is defined as: a word order.
Data templates: setting a Schema of XML data, and setting rules such as elements and sub-elements which can appear in an XML document, and attributes, sequences, numbers, data types, default values, fixed values and the like of the elements; such as: the "word order" element is a complex type, and the lower elements include: "word bar", "font", "sound item", "paraphrasing", "see also", "Gu Yi", "entry", etc., the attribute includes an id.
The "bar" element is a complex type; the mixed indicator is true, allowing the appearance of character data; attributes include id, radical, number of strokes of radical, order of strokes, number of strokes of primary radical, structure, word level, homotypic sequence number (simple type, single choice), etc.
Data node style: defining a style of the element node label;
such as:
the style defines the color red: sy-bold { color: red; }.
And (3) displaying a template: the XML is converted into HTML through an XSLT template in the content compiling process, so that the preview display of what you see is what you get in the content compiling process is realized.
Such as: and if the sequence number attribute has a value, displaying the sequence number attribute as a block element, and displaying the content of the sequence number attribute in the sequence number attribute by the word size of 20 px.
Paraphrasing, the color of the content is #6F00D2 (purple)
All template definitions are limited to this element only.
Display style: a content presentation style is set (as shown in fig. 3, 4).
As shown in fig. 5, the XML content editing system flow includes:
(1) User login: the author uses a user name and password to make a system login.
(2) Task selection: the author selects the compiling task, opens the content editor and enters the task work interface.
(3) Compiling items: content compilation of items by authors at a content editor
The functional area division of the content editing system is shown in fig. 6, and includes a task area, a data structure area, an automatic verification area, a content editing area, a display preview area and a property editing area.
The XML-based internal editing system may automatically generate a default item editing framework based on the template settings.
1) And generating the root node of the entry structure tree according to the root node definition in the XML template.
2) The system displays the data node style in the content editing area according to the data node style definition in the XML template.
3) The author can add and delete content elements as needed for its own entry tasks. When adding elements, extracting a subelement list of the current element from the data structure definition of the XML template, selecting required subelements from the list by an author, adding the required subelements into a content editor, and automatically initializing a content input column of the system according to the attribute, the data type and the like of the selected subelements.
When the author compiles the content, the system limits the type, length, content and the like of the content input according to the setting of the elements in the data structure definition of the XML template.
Editing of element properties is supported.
Such as: the "sense term" element defines a sequence number attribute in the data template, the attribute being string type. In the content editor, an author can edit the content of the sequence number attribute in the attribute editing area. As in this example, the value of the fill-in sequence number attribute is 1.
The roles of the element attributes include:
(1) the element attributes can be used when the tool book builds the index, and the index is automatically generated. Such as pinyin-based, radical-based, stroke-based, etc.
(2) The element attributes may be used for query retrieval conditions at the time of digital publishing of the tool book.
In the editing process, supporting the insertion of rich media files such as pictures, audio, video and the like; and supporting a butt joint self-made word stock system, inserting self-made words and previewing in real time.
The setting of the preview template is called on the right side preview page, and the author compiles the content to realize what is seen and what is obtained on the preview page (as shown in fig. 7 and 8).
1) And selectively displaying the elements according to the template setting.
2) And according to the template setting, the display mode and the display effect of the elements are displayed in a personalized way.
3) The content is supported to be displayed in real time in both XML and HTML modes.
(4) Verification of body
The automatic verification tool for the content rules based on the XML Schema realizes automatic verification of the input content, and prompts problematic data by timely verifying the validity of the input content after the input content jumps and for the input content which does not meet the content requirements.
Clicking a function button of a body, the system completes verification of nesting rationality of elements and sub-elements, whether contents of various elements accord with rules, whether embedded jump and quotation are valid or not and the like based on a content rule automatic verification tool of XML Schema, gives corresponding prompt information, and is convenient for authors to modify non-compliant contents.
(5) Task submission
After all entries of the task package complete the compiling work, the author submits the compiling result to a project manager for auditing.
The system provided in the above embodiment is as follows: the schema of the entry can be freely combined into a new template according to an abstract structure; visual compiling of xml word entries can intuitively show the relationship of nesting, quotation and the like of the word entries; the object and the text are stored separately, xml cannot store binary contents such as pictures, audios and videos, but the system adopts independent storage and has the content editing capability of rich texts; the entry can be set according to the template, and the display content and display form of the data can be flexibly changed. The compiled content is archived in a single entry XML format and new collections of content can be dynamically assembled as needed for the use of the content of the tool book.
Although the embodiments of the present invention are described above, the embodiments are only used for facilitating understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art can make any modification and variation in form and detail without departing from the spirit and scope of the present disclosure, but the scope of the present disclosure is still subject to the scope of the appended claims.

Claims (7)

1. The online collaborative editing system for the tool books based on the XML is characterized by comprising an XML template tool, a project management system, an XML content editing system, an automatic verification tool and a digital publishing system; the said
The XML template tool is used for setting an XML Schema template at the management end, realizing the control of the writing rule of the content compiling module and providing a verification basis;
the project management system is used for setting tool compiling projects, items and tasks, and is responsible for extracting the XML content files according to the publishing templates, dynamically combining the XML content files into digital publications and publishing the digital publications in the digital publishing system;
the XML content editing system dynamically adjusts the content compiling rules and verification rules of the content compiling module by calling XML Schema templates to set various template tools;
and the automatic verification tool is used for automatically verifying rule validity of the content compiled in the content editor by calling rules set by the template of the XML Schema.
2. The XML-based tool book online collaborative compilation system of claim 1, wherein the project management system includes user management, project management, entry management, task management, and release management; the user management comprises project management personnel and authors, and login user names and passwords are set for users; the project management is used for compiling projects in a tool book and setting project management teams and author teams for content compilation; the entry management is responsible for defining the tool book entry by a project management team, selecting a template applicable to the entry from an XML template tool, and supporting version management of the entry; the task management is that a project management team distributes compiling tasks for an author team compiling tool book content, and the task progress situation is tracked; and the release management is used for compiling all entries into projects with the task accepted, and producing and exporting XML documents to the outside of the system.
3. The XML-based tool online collaborative compilation system of claim 1, wherein a plurality of template tools are provided during the definition tool compilation process according to the different item types, including root nodes, data templates, data node styles, presentation templates, and presentation styles.
4. The XML-based tool online collaborative compilation system of claim 3, wherein the root node is a starting element item for content editing; a data template, setting a Schema of XML data, and setting attributes, sequences, numbers, data types, default values and fixed values of elements, sub-elements and elements which can appear in an XML document; a data node style, which is a style defining element node labels; the display template is arranged in the content compiling process, XML is converted into HTML through the XSLT template, and the preview display of the obtained view in the content compiling process is realized.
5. The XML-based tool online collaborative compilation system of claim 1, wherein the XML content editing system specific workflow comprises:
the author logs in the system through a user name;
selecting a compiling task, opening a content editor, and entering a task work interface;
the author compiles the content in a plurality of items of the content editor;
carrying out validity check on the input content;
after all entries in the task package are compiled, the compiling result is submitted to a project manager for auditing.
6. The XML-based tool online collaborative compilation system of claim 1, wherein the XML content editing system comprises a plurality of functional regions: the system comprises a task area, a data structure area, an automatic verification area, a display preview area, a property editing area and a content editing area.
7. The XML-based tool book online collaborative compilation system of claim 1, wherein the XML content editing system generates a default entry editing framework from template settings, comprising:
generating root nodes of the entry structure tree according to the root node definition in the XML template;
displaying the data node style in the content editing area according to the data node style definition in the XML template;
content elements are added and deleted as needed for their own entry tasks.
CN202310016223.6A 2023-01-06 2023-01-06 XML-based online collaborative tool book compiling system Pending CN116090428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310016223.6A CN116090428A (en) 2023-01-06 2023-01-06 XML-based online collaborative tool book compiling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310016223.6A CN116090428A (en) 2023-01-06 2023-01-06 XML-based online collaborative tool book compiling system

Publications (1)

Publication Number Publication Date
CN116090428A true CN116090428A (en) 2023-05-09

Family

ID=86213362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310016223.6A Pending CN116090428A (en) 2023-01-06 2023-01-06 XML-based online collaborative tool book compiling system

Country Status (1)

Country Link
CN (1) CN116090428A (en)

Similar Documents

Publication Publication Date Title
US7337182B2 (en) Management of markup language data mappings available to a spreadsheet application workbook
US7096422B2 (en) Markup language visual mapping
Harold XML 1.1 Bible
US8407585B2 (en) Context-aware content conversion and interpretation-specific views
US7703004B2 (en) Systems and methods for automatically converting web pages to structured shared web-writable pages
Kay XSLT 2.0 and XPath 2.0 Programmer's Reference
US7703007B2 (en) Importing and exporting markup language data in a spreadsheet application document
US6230173B1 (en) Method for creating structured documents in a publishing system
US8972854B2 (en) Graphical creation of a document conversion template
Alexa et al. A review of software for text analysis
US20040221233A1 (en) Systems and methods for report design and generation
US20060143562A1 (en) Self-describing editors for browser-based WYSIWYG XML/HTML editors
WO2007081017A1 (en) Document processor
White HTML and the Art of Authoring for the World Wide Web
JPWO2006103760A1 (en) Document conversion utilization system
CN116090428A (en) XML-based online collaborative tool book compiling system
Flores et al. Templates, microformats and structured editing
Lenz et al. Office 2003 XML: Integrating Office with the Rest of the World
Abe et al. A visual approach to authoring XPath expressions
Lange Mathematical semantic markup in a wiki: The roles of symbols and notations
Quint et al. Structured templates for authoring semantically rich documents
McKinnon et al. XML in 60 Minutes a Day
Bleeker et al. Between Flexibility and Universality: Combining TAGML and XML to Enhance the Modeling of Cultural Heritage Text.
Bouche Cedrics: When cedram meets tralics
Lowery Dreamweaver CS3 bible

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination