JPH09330315A - Processor for structured document - Google Patents

Processor for structured document

Info

Publication number
JPH09330315A
JPH09330315A JP8166629A JP16662996A JPH09330315A JP H09330315 A JPH09330315 A JP H09330315A JP 8166629 A JP8166629 A JP 8166629A JP 16662996 A JP16662996 A JP 16662996A JP H09330315 A JPH09330315 A JP H09330315A
Authority
JP
Japan
Prior art keywords
document
type
document type
type definition
definition
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.)
Granted
Application number
JP8166629A
Other languages
Japanese (ja)
Other versions
JP3602653B2 (en
Inventor
Shiyou Imasato
詔 今郷
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP16662996A priority Critical patent/JP3602653B2/en
Publication of JPH09330315A publication Critical patent/JPH09330315A/en
Application granted granted Critical
Publication of JP3602653B2 publication Critical patent/JP3602653B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to use application generated for original document type definition to new document type definition, by deriving the new document type definition from the basic document type definition on the basis of the correspondence relation between respective element types of the new document type definition and basic document type definition. SOLUTION: A basic document type definition holding part 10 holds the basic document type definition to be the base of the new document type definition. An element type role specification part 11 specifies roles of the respective element types of the basic document type definition. A derived document type specification part 12 specifies characteristic information for the respective element types of the new document type. A document type definition derivation part 13 derives a new document type definition, i.e., direct expression document type definition and embedded expression document type definition from the basic document type definition on the basis of the correspondence relation between the respective element types of the new document type and the respective element types of the basic document type definition. A document conversion part 14 performs mutual conversion between a document based upon the direct expression document type definition and embedded expression document type definition which are equivalent to each other.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明が属する技術分野】本発明は構造化文書の処理装
置に関し,より詳細には,既存の文書型定義から系統的
に新たな文書型定義を導出することができる構造化文書
の処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a structured document processing device, and more particularly to a structured document processing device capable of systematically deriving a new document type definition from an existing document type definition. .

【0002】[0002]

【従来の技術】文書はタイトル・作成者・章・節・項・
脚注等の論理構造を持つ。これらの文書を構成する要素
の一つ一つが始まる位置と終わる位置とがマークされて
論理構造情報が明らかにされた文書については,その情
報を利用して文書の編集・割付・共同執筆・検索等を行
うことができる。
2. Description of the Related Art Documents are titles, creators, chapters, sections, sections,
It has a logical structure such as footnotes. For documents in which the logical structure information has been clarified by marking the start and end positions of each of the elements that make up these documents, use that information to edit, assign, co-author, and search the document. And so on.

【0003】このような文書処理を実現するためには,
予め文書の論理構造を定義しておき,文書作成者はその
定義に従って文書を作成する。ある文書の論理構造の定
義は文書型定義と呼ばれ,その記述の手段として例えば
ISO(International Standar
dization Organization)で定め
られているSGML(Standardized Ge
neral Markup Language)があ
る。
In order to realize such document processing,
The logical structure of the document is defined in advance, and the document creator creates the document according to the definition. The definition of the logical structure of a certain document is called a document type definition, and as a means of its description, for example, ISO (International Standard)
SGML (Standardized Ge) defined by the digitization organization.
There is a general markup language).

【0004】SGMLを用いて記述した文書型定義とし
ては,ISOが作成した汎用文書型定義,AAP(Am
erican Association of Pub
lishers)の書籍用文書型定義,OSF(Ope
n Software Forum)の書籍用文書型定
義等がある。これらの文書型定義は基本的で種々の文書
に共通する要素と構造とを定義しているが,実際に作成
される様々な文書の構造を表すためには更に定義を追加
し,新たな文書型定義を作成することが必要である。例
えば報告書,論文,企画書等の文書型に対し,個別の文
書型定義を作成することになる。
The document type definition described using SGML is a general document type definition created by ISO, AAP (Am
erican association of pub
document type definition for books, OSF (Opera)
n Document type definitions for books, etc. These document type definitions define elements and structures that are basic and common to various documents. However, in order to represent the structures of various documents that are actually created, additional definitions are added and new document types are defined. It is necessary to create a type definition. For example, individual document type definitions will be created for document types such as reports, papers, and proposals.

【0005】ところで,上記文書型定義は文書の構文を
決めているだけであり,文書の要素の意味や役割を規定
していない。意味はコメントあるいは解説文の形で非形
式的に定義される。多くの場合,例えば章・節といった
構文的な役割までしか文書型定義では規定せず,その意
味は別のタイトル要素の内容で識別するようになってい
る。人間が読む場合にはこれでも十分であるかもしれな
いが,コンピュータ処理を行うことを考慮するとこのよ
うな言語を介した表現では不十分であり,厳格な表現を
行うことが望まれる。
By the way, the above document type definition only determines the syntax of the document, and does not specify the meaning or role of the elements of the document. The meaning is informally defined in the form of comments or commentary. In many cases, even syntactic roles such as chapters and sections are specified in the document type definition, and the meaning is identified by the content of another title element. This may be sufficient for human reading, but in consideration of computer processing, expression through such a language is not sufficient, and it is desirable to perform strict expression.

【0006】また,規定の項目が記述されているか否か
の検査に文書型定義を用いる場合,意味レベルまでを要
素として記述しておかないと普通の構造エディタでは検
査を行うことができないという問題がある。
Further, when the document type definition is used for checking whether or not a prescribed item is described, there is a problem that a normal structure editor cannot perform the checking unless the semantic level is described as an element. There is.

【0007】このため,意味の違いに応じて異なった構
文要素を用意する必要性,即ち文書型の細かな差異に応
じて異なった文書型定義を用意する必要がある。ところ
が,リストや脚注のように一般的な構文要素もあり,文
書型定義を一から開発するのでは相当の手間がかかるた
め,既存の文書型定義の一部を適当に手直しして使用す
ることが広く行われている。
Therefore, it is necessary to prepare different syntax elements according to the difference in meaning, that is, different document type definitions depending on the minute difference in document type. However, since there are general syntax elements such as lists and footnotes, it takes a lot of time to develop a document type definition from scratch, so it is necessary to appropriately modify and use a part of the existing document type definition. Is widely practiced.

【0008】[0008]

【発明が解決しようとする課題】しかしながら,既存の
文書型定義の一部を適当に手直しして使用するという方
法では,元の文書型定義が変更された場合の対応が困難
であり,変更後の文書型定義に対応して新たにアプリケ
ーションを作成する必要が生じるという問題がある。
However, the method of appropriately modifying and using a part of the existing document type definition is difficult to deal with when the original document type definition is changed. There is a problem that it is necessary to create a new application corresponding to the document type definition of.

【0009】本発明は上記に鑑みてなされたものであっ
て,基本となる文書型定義自体の変更の影響を少なくす
ると共に基本となる文書型定義を変更した新たな文書型
定義に対しても元の文書型定義用に作成したアプリケー
ションを使用可能とすることを目的とする。
The present invention has been made in view of the above, and reduces the influence of the change of the basic document type definition itself and also to a new document type definition in which the basic document type definition is changed. The purpose is to enable the application created for the original document type definition.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め,本発明の請求項1に係る構造化文書の処理装置は,
新たな文書型に基づいて,文書を構成する要素の型を定
義する既存の文書型定義から新たな文書型定義を導出す
る構造化文書の処理装置において,前記新たな文書型定
義の基本となる基本文書型定義を保持する基本文書型定
義保持手段と,前記基本文書型定義の各要素型に対しそ
れぞれ役割を指定する要素型役割指定手段と,前記新た
な文書型の各要素型に対し固有の情報を指定する導出文
書型情報指定手段と,前記新たな文書型の各要素型に対
して指定された前記固有の情報と前記基本文書型定義の
各要素型に対して指定された役割とに基づいて前記新た
な文書型の各要素型と前記基本文書型定義の各要素型と
の対応関係をそれぞれ決定し,前記対応関係に基づいて
前記基本文書型定義から前記新たな文書型定義を導出す
る文書型定義導出手段と,を備えるものである。
In order to achieve the above object, a structured document processing apparatus according to claim 1 of the present invention comprises:
In a structured document processing device that derives a new document type definition from an existing document type definition that defines the types of elements that make up a document based on the new document type, it is the basis of the new document type definition. Basic document type definition holding means for holding a basic document type definition, element type role specifying means for specifying a role for each element type of the basic document type definition, and unique for each element type of the new document type Derived document type information designating means for designating information of the above, the unique information designated for each element type of the new document type, and the role designated for each element type of the basic document type definition. Based on the correspondence between each element type of the new document type and each element type of the basic document type definition, and based on the correspondence relationship, the new document type definition is converted from the basic document type definition. Derivation of document type definition Those comprising a stage, a.

【0011】また,本発明の請求項2に係る構造化文書
の処理装置は,請求項1記載の構造化文書の処理装置に
おいて,前記新たな文書型の各要素型に対して指定され
る前記固有の情報が,前記新たな文書型の各要素型の相
互関係を規定するインデントであり,前記導出型情報指
定手段が,前記新たな文書型の各要素型の親子関係に応
じて異なる量の前記インデントを前記各要素型に対しそ
れぞれ付加するものである。
A structured document processing apparatus according to a second aspect of the present invention is the structured document processing apparatus according to the first aspect, wherein the element type of the new document type is designated. The unique information is an indent that defines the mutual relationship between the element types of the new document type, and the derived-type information designating unit has a different amount depending on the parent-child relationship of each element type of the new document type. The indent is added to each element type.

【0012】また,本発明の請求項3に係る構造化文書
の処理装置は,請求項1記載の構造化文書の処理装置に
おいて,前記新たな文書型の各要素型に対して指定され
る前記固有の情報が,前記新たな文書型の各要素型の相
互関係を規定する表示であり,前記導出型情報指定手段
が,前記新たな文書型の各要素型の親子関係に応じて前
記各要素型に前記表示を選択的に付加するものである。
A structured document processing apparatus according to claim 3 of the present invention is the structured document processing apparatus according to claim 1, wherein the element type of the new document type is designated. The unique information is a display that defines the mutual relationship between the element types of the new document type, and the derived-type information specifying means determines the elements according to the parent-child relationship of the element types of the new document type. The display is selectively added to the mold.

【0013】また,本発明の請求項4に係る構造化文書
の処理装置は,請求項1記載の構造化文書の処理装置に
おいて,前記文書型定義導出手段が,要素型の意味を要
素型の名前として表現した直接表現文書型定義と要素型
の意味を要素型の属性として表現した埋め込み表現文書
型定義の少なくとも一方を導出するものである。
According to a fourth aspect of the present invention, there is provided a structured document processing device according to the first aspect, wherein the document type definition deriving means defines the element type as an element type. At least one of a direct expression document type definition expressed as a name and an embedded expression document type definition expressing the meaning of the element type as an attribute of the element type is derived.

【0014】また,本発明の請求項5に係る構造化文書
の処理装置は,請求項4記載の構造化文書の処理装置に
おいて,更に,互いに等価な前記直接表現文書型定義に
従う文書と前記埋め込み表現文書型定義に従う文書とを
相互に変換する文書変換手段を備え,前記文書変換手段
が,前記直接表現文書型定義に従う文書から前記埋め込
み表現文書型定義に従う文書に変換する場合,前記直接
表現文書型定義の所定の要素に関連して構文上不足する
要素を特定の属性と共に生成し,かつ前記埋め込み表現
文書型定義に従う文書から前記直接表現文書型定義に従
う文書に変換する場合,前記埋め込み表現文書型定義の
所定の要素に関連して構文上余分な要素を特定の属性と
共に削除するものである。
A structured document processing device according to a fifth aspect of the present invention is the structured document processing device according to the fourth aspect, further comprising: a document that complies with the direct expression document type definition and the embedded document. A document conversion unit for mutually converting a document conforming to the expression document type definition, wherein the document conversion unit converts the document conforming to the direct expression document type definition into a document conforming to the embedded expression document type definition, the direct expression document When a syntactically insufficient element is generated with a specific attribute in relation to a predetermined element of the type definition and the document according to the embedded expression document type definition is converted into a document according to the direct expression document type definition, the embedded expression document It removes syntactically redundant elements along with certain attributes associated with a given element in the type definition.

【0015】更に,本発明の請求項6に係る構造化文書
の処理装置は,請求項5記載の構造化文書の処理装置に
おいて,前記文書変換手段が,前記直接表現文書型定義
の所定の要素に関連して構文上不足する要素を特定の属
性と共に生成する場合,前記所定の要素に含まれる要素
型名を生成した要素の内容に付加するものである。
Further, in the structured document processing device according to claim 6 of the present invention, in the structured document processing device according to claim 5, the document conversion means is a predetermined element of the direct expression document type definition. When an element that is syntactically insufficient in relation to is generated with a specific attribute, the element type name included in the predetermined element is added to the content of the generated element.

【0016】[0016]

【発明の実施の形態】以下,本発明に係る構造化文書の
処理装置の実施の形態を図面を参照しつつ詳細に説明す
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a structured document processing apparatus according to the present invention will now be described in detail with reference to the drawings.

【0017】図1は,本発明の実施の形態に係る構造化
文書の処理装置の概略構成を示すブロック図である。図
1に示す構造化文書の処理装置は,新たな文書型に基づ
いて,文書を構成する要素の型を定義する既存の文書型
定義から新たな文書型定義を導出するものであって,新
たな文書型定義の基本となる基本文書型定義を保持する
本発明の基本文書型定義保持手段としての基本文書型定
義保持部10と,基本文書型定義の各要素型に対しそれ
ぞれ役割を指定する本発明の要素型役割指定手段として
の要素型役割指定部11と,新たな文書型の各要素型に
対しそれぞれ固有の情報を指定する本発明の導出文書型
情報指定手段としての導出文書型情報指定部12と,新
たな文書型の各要素型に対して指定された固有の情報と
基本文書型定義の各要素型に対して指定された役割とに
基づいて新たな文書型の各要素型と基本文書型定義の各
要素型との対応関係をそれぞれ決定し,対応関係に基づ
いて基本文書型定義から新たな文書型定義,即ち後述す
る直接表現文書型定義及び埋め込み表現文書型定義を導
出する本発明の文書型定義導出手段としての文書型定義
導出部13と,互いに等価な直接表現文書型定義に従う
文書と前記埋め込み表現文書型定義に従う文書とを相互
に変換する本発明の文書変換手段としての文書変換部1
4と,を備えている。
FIG. 1 is a block diagram showing a schematic configuration of a structured document processing apparatus according to an embodiment of the present invention. The structured document processing device shown in FIG. 1 derives a new document type definition from an existing document type definition that defines the types of elements constituting a document based on the new document type. A basic document type definition holding unit 10 as a basic document type definition holding unit of the present invention which holds a basic document type definition which is the basis of a simple document type definition, and a role is designated for each element type of the basic document type definition. The element type role specifying unit 11 as the element type role specifying means of the present invention, and the derived document type information as the derived document type information specifying means of the present invention for specifying unique information for each element type of the new document type. Each element type of the new document type based on the designation unit 12, the specific information designated for each element type of the new document type, and the role designated for each element type of the basic document type definition And the correspondence with each element type of the basic document type definition A document as a document type definition deriving means of the present invention for deciding each section and deriving a new document type definition from the basic document type definition, that is, a direct expression document type definition and an embedded expression document type definition, which will be described later, based on the correspondence relationship. The type definition deriving unit 13 and the document conversion unit 1 as a document conversion unit of the present invention for mutually converting a document according to the equivalent direct expression document type definition and a document according to the embedded expression document type definition.
4 and 4 are provided.

【0018】上述した構成を有する構造化文書の処理装
置の構成及び動作を詳細に説明する前に文書型定義につ
いて説明する。
Before describing in detail the structure and operation of the structured document processing apparatus having the above structure, the document type definition will be described.

【0019】図2及び図3はそれぞれ文書型定義の例を
示し,文書型定義を説明するための説明図である。図2
及び図3に示す文書型定義の例はSGMLで記述された
ものであるが,本発明の構造化文書の処理装置に用いる
文書型定義としてSGMLで記述された文書型定義に限
定するものではない。また,図2及び図3に示す例は,
それぞれ等価な情報を異なる文書型定義で表現したもの
である。
2 and 3 are examples of document type definitions, and are explanatory diagrams for explaining the document type definitions. FIG.
The example of the document type definition shown in FIG. 3 is described in SGML, but the document type definition used in the structured document processing device of the present invention is not limited to the document type definition described in SGML. . In addition, the example shown in FIG. 2 and FIG.
The equivalent information is expressed by different document type definitions.

【0020】図2に基づいて文書型定義を説明する。図
2に示す文書型定義は以下の事項を表現している。 1行目の要素型:文書全体は”doc”という要素に対
応し,要素”doc”は任意の個数の要素”div”を
内容としている。要素”div”は章・節に相当する。 2行目の要素型:章・節に相当する要素”div”は,
題目を表す要素”title”の後ろに要素”div”
か文字列が並べられたものである。 3行目の要素型:要素”title”は文字列を内容と
する。
The document type definition will be described with reference to FIG. The document type definition shown in FIG. 2 expresses the following items. Element type on the first line: The entire document corresponds to the element "doc", and the element "doc" contains an arbitrary number of elements "div". The element "div" corresponds to a chapter / section. Element type on the second line: The element "div" corresponding to the chapter / section is
The element "div" is added after the element "title" representing the title.
It is an array of strings. Element type on the third line: The element "title" contains a character string.

【0021】図4は,図2に示す文書型定義に従った文
書本体の例を示し,文書本体を説明するための説明図で
ある。図4において,<...>と</...>とに囲
まれた部分が一つの要素であり,<...>の中身がそ
の要素の名前を示している。
FIG. 4 shows an example of the document body according to the document type definition shown in FIG. 2, and is an explanatory diagram for explaining the document body. In FIG. 4, <. . . > And </. . . The part surrounded by> and is one element, and <. . . The content of the> indicates the name of the element.

【0022】なお,図5は図3に示す文書型定義に従っ
た文書本体の例を示している。
FIG. 5 shows an example of the document body according to the document type definition shown in FIG.

【0023】次に[基本文書型定義保持部]・[要素型
役割指定部]・[導出文書型情報指定部]・[文書型定
義導出部]・[文書変換部]の順で本発明の実施の形態
に係る構造化文書の処理装置の構成を更に詳細に説明す
ると共にその動作を説明する。
Next, in the order of [basic document type definition holding section], [element type role specifying section], [derived document type information specifying section], [document type definition deriving section], [document conversion section] of the present invention. The configuration of the structured document processing apparatus according to the embodiment will be described in more detail and its operation will be described.

【0024】[基本文書型定義保持部]基本文書型定義
保持部10は,新たな文書型定義を導出する際に基本と
なる文書型定義(基本文書型定義)を保持するものであ
る。いかなる文書型定義であっても基本文書型定義とし
て使用することができるが,通常は一般的な文書を表現
するために使用される文書型定義を基本文書型定義とし
て使用する。本発明の実施の形態においては図3に示す
文書型定義を基本文書型定義として使用することにす
る。
[Basic Document Type Definition Holding Unit] The basic document type definition holding unit 10 holds a document type definition (basic document type definition) that is a basis for deriving a new document type definition. Although any document type definition can be used as the basic document type definition, the document type definition normally used to represent a general document is used as the basic document type definition. In the embodiment of the present invention, the document type definition shown in FIG. 3 is used as the basic document type definition.

【0025】[要素型役割指定部]要素型役割指定部1
1は,基本文書型定義に含まれる要素型にそれぞれ役割
を指定する。
[Element type role designation section] Element type role designation section 1
1 specifies a role for each element type included in the basic document type definition.

【0026】要素型には, ・章や節に相当する要素型 ・章や節のタイトルに相当する要素型 ・段落に相当する要素型 ・段落のタイトルに相当する要素型 ・リスト(箇条書き)に相当する要素型 が含まれる。Element types include: element types corresponding to chapters and sections, element types corresponding to chapter and section titles, element types corresponding to paragraphs, element types corresponding to paragraph titles, and lists (bullets). The element type corresponding to is included.

【0027】要素型役割指定部11は,予め定めた役割
に対応する要素型名をそれぞれ指定し,図6に示すよう
なテーブルを保持する。このテーブルは,基本文書型定
義保持部10に保持された基本文書型定義に対応して作
成される。
The element type role specifying unit 11 specifies element type names corresponding to predetermined roles, and holds a table as shown in FIG. This table is created corresponding to the basic document type definition held in the basic document type definition holding unit 10.

【0028】[導出文書型情報指定部]導出文書型情報
指定部12は,基本文書型定義から新たな文書型定義を
作成するための新たな文書型を構成する要素型に対して
固有の情報を指定することにより,新たな文書型を構成
する各要素型の相互関係を規定する。導出文書型情報指
定部12は,具体的に新たな文書型を構成する各要素型
間の親子関係をインデントの量によって表現し,この文
書型を保持するものである。
[Derived Document Type Information Designation Unit] The derived document type information designation unit 12 is information unique to an element type forming a new document type for creating a new document type definition from a basic document type definition. By specifying, the interrelationship between the element types that make up the new document type is specified. The derived document type information designating unit 12 specifically expresses the parent-child relationship between the element types forming the new document type by the amount of indentation, and holds this document type.

【0029】図7は,導出文書型情報指定部12によっ
て新たな文書型を構成する要素型に対して情報を指定し
た場合の例を示している。図7においては,インデント
の量に基づいて”公開特許”が大本の要素型であり,そ
の子要素型として”公開番号”・”特許請求項リスト”
・”発明の詳細な説明”があることが示されている。ま
た,”公開番号”・”特許請求項リスト”は子要素型を
有しない要素型である終端要素型であり,”発明の詳細
な説明”は”従来の技術”・”実施例”・”発明の効
果”という更なる子要素型を有するということが示され
ている。
FIG. 7 shows an example in which the derived document type information designating section 12 designates information with respect to the element type forming a new document type. In FIG. 7, "public patent" is the main element type based on the amount of indent, and "public number" and "patent claim list" are child element types.
-It is indicated that there is a "detailed description of the invention". Also, "publication number" / "claim list" is a terminal element type that is an element type that has no child element type, and "detailed description of the invention" is "conventional technology" / "embodiment" / " It has been shown to have a further child element type of "effect of the invention".

【0030】また,図7に示すように終端要素型には要
素型名の後ろに”$”という特別なマークを選択的に付
加することができる。これにより,”$”が付加された
終端要素型,例えば”従来の技術”は「章・節」に相当
するとみなし,一方”$”が付加されていない終端要素
型,例えば”公開番号”は「段落」に相当するとみなす
ことができる。
Further, as shown in FIG. 7, a special mark "$" can be selectively added to the end element type after the element type name. As a result, terminating element types with "$" added, for example, "conventional technology" are considered to correspond to "chapter / section", while terminating element types without "$" added, such as "public number", It can be regarded as equivalent to a "paragraph".

【0031】また,図7において,”特許請求項リス
ト”のように要素型名が”リスト”で終わっている要素
型は「リスト」に相当するものとみなす。
Further, in FIG. 7, an element type whose element type name ends with "list" such as "claim list" is considered to correspond to "list".

【0032】[文書型定義導出部]文書型定義導出部1
3は新たな文書型定義を導出するものである。導出され
る文書型定義には直接表現文書型定義と埋め込み表現文
書型定義の2つがある。
[Document type definition deriving unit] Document type definition deriving unit 1
3 is to derive a new document type definition. There are two derived document type definitions, a direct expression document type definition and an embedded expression document type definition.

【0033】図8は,図7に示す新たな文書型に基づい
て図3に示す基本文書型定義から導出された直接表現文
書型定義の例を示している。直接表現文書型定義とは,
要素型の意味を要素型の名前として表現した文書型定義
のことをいう。この直接表現文書型定義において,新た
に導出された文書型定義の要素型名に対応する基本文書
型定義の要素型名は,属性”origGI”の値として
記録される。
FIG. 8 shows an example of the direct expression document type definition derived from the basic document type definition shown in FIG. 3 based on the new document type shown in FIG. Direct expression document type definition
Document type definition that expresses the meaning of the element type as the name of the element type. In this direct expression document type definition, the element type name of the basic document type definition corresponding to the newly derived element type name of the document type definition is recorded as the value of the attribute "origGI".

【0034】直接表現文書型定義を導出するには,基本
文書型定義保持部10から基本文書型定義を取り出すと
共に導出文書型情報指定部12から要素型を順次取り出
し,要素型役割指定部11において指定された基本文書
型定義の各要素型の役割を参照しつつ以下の処理を行
う。
To derive the direct expression document type definition, the basic document type definition is fetched from the basic document type definition holding unit 10, the element types are sequentially fetched from the derived document type information designation unit 12, and the element type role designation unit 11 The following process is performed while referring to the role of each element type of the specified basic document type definition.

【0035】まず,導出文書型情報指定部12から取り
出された要素型に子要素型がある場合について説明す
る。文書型定義導出部13は,導出文書型情報指定部1
2から取り出された要素型のインデントの量に対応する
章節要素型名を要素型役割指定部11から取り出し,そ
の章節要素型名をorigGI属性の値とする。そし
て,この要素型の内容(内容モデル)として子要素型の
名前を列挙する。
First, a case will be described in which the element type extracted from the derived document type information specifying unit 12 has a child element type. The document type definition deriving unit 13 is a derived document type information specifying unit 1.
The chapter section element type name corresponding to the amount of indentation of the element type extracted from 2 is taken out from the element type role specifying unit 11, and the chapter section element type name is set as the value of the origGI attribute. Then, the names of the child element types are listed as the content (content model) of this element type.

【0036】例えば,導出文書型情報指定部12から取
り出された要素型のインデントの量が0の場合,即ち図
7における要素型”公開特許”の場合,図6に示す”文
書全体”に対応する要素型名である”doc”を要素型
役割指定部11から取り出し,”doc”をorigG
I属性の値とする。この要素型の内容(内容モデル)と
して”公開番号”・”特許請求項リスト”・”発明の詳
細な説明”を列挙する。
For example, when the indent amount of the element type extracted from the derived document type information designating section 12 is 0, that is, in the case of the element type "public patent" in FIG. 7, it corresponds to "entire document" shown in FIG. The element type name “doc” to be extracted is extracted from the element type role designation unit 11, and “doc” is origG.
The value of the I attribute. As the content (content model) of this element type, "publication number", "claim list", and "detailed description of invention" are listed.

【0037】また,導出文書型情報指定部12から取り
出された要素型のインデントの量が1の場合,即ち図7
における要素型”発明の詳細な説明”の場合,図6に示
す”第1レベル章節”に対応する要素型名である”se
ction”を要素型役割指定部11から取り出し,”
section”をorigGI属性の値とする。そし
てこの要素型の内容(内容モデル)として”従来の技
術”・”実施例”・”発明の効果”を列挙する。
Further, when the amount of indentation of the element type taken out from the derived document type information specifying unit 12 is 1, that is, FIG.
In the case of the element type “Detailed description of the invention” in FIG. 6, the element type name “se” corresponding to the “first level chapter” shown in FIG.
"action" is retrieved from the element type role designation unit 11,
"section" is the value of the origGI attribute, and "conventional technology", "embodiment", and "effect of the invention" are listed as the content (content model) of this element type.

【0038】次に,導出文書型情報指定部12から取り
出された要素型に子要素型がない場合について説明す
る。要素型に子要素型がない場合としては,要素型名の
最後が”リスト”で終わっている場合,要素型名に”
$”マークがついている場合及びその他の場合がある。
Next, a case where the element type extracted from the derived document type information specifying unit 12 has no child element type will be described. When the element type has no child element type, if the end of the element type name ends with "list", the element type name is "
There are cases where the $ "mark is attached and other cases.

【0039】まず,導出文書型情報指定部12から取り
出された要素型名の最後が”リスト”である場合,例え
ば図7における要素型”特許請求項リスト”の場合,図
6に示す”リスト”に対応する要素型名”list”を
要素型役割指定部11から取り出し,”list”をo
rigGI属性の値とする。そして,この要素型の内容
(内容リスト)は,図3の基本文書型定義の要素型”l
ist”の内容と同一にする。すなわち”item*”
と記す。
First, when the end of the element type name extracted from the derived document type information designating section 12 is "list", for example, the element type "claim list" in FIG. 7, the "list" shown in FIG. The element type name "list" corresponding to "is extracted from the element type role specifying unit 11 and" list "is set to o
The value of the rigGI attribute. The content (content list) of this element type is the element type "l" of the basic document type definition in FIG.
Same as the contents of "ist". That is, "item *"
It is written.

【0040】要素型名に”$”マークがついている場
合,導出文書型情報指定部12から取り出された要素型
のインデントの量に対応する章節要素型名を要素型役割
指定部11から取り出し,その章節要素型名をorig
GI属性の値とする。そして,この要素型の内容(内容
リスト)をその章節要素型名に対応する図3の基本文書
型定義の要素型の内容と同一にする。
When the element type name is marked with "$", the chapter / section element type name corresponding to the indentation amount of the element type extracted from the derived document type information specification section 12 is extracted from the element type role specification section 11, Orig the section element type name
It is the value of the GI attribute. Then, the content (content list) of this element type is made the same as the content of the element type of the basic document type definition of FIG. 3 corresponding to the chapter section element type name.

【0041】例えば,”$”マークがついた図7におけ
る要素型”従来の技術”の場合,インデントの量が2で
あるため要素型役割指定部11から図6に示す”第2レ
ベル章節”に対応する要素型名”subsectio
n”を取り出し,”subsection”をorig
GI属性の値とする。そして,この要素型の内容(内容
リスト)は,図3の基本文書型定義の要素型”subs
ection”の内容と同一にする。すなわち”(ti
tle,(subsection|paragrap
h)*)”と記す。
For example, in the case of the element type "conventional technology" shown in FIG. 7 with the "$" mark, since the indent amount is 2, the element type role designation unit 11 to the "second level chapter" shown in FIG. Element type name "subsectio" corresponding to
n "is taken out and" subsection "is orig
It is the value of the GI attribute. The content (content list) of this element type is the element type "subs" of the basic document type definition in FIG.
section), that is, "(ti
tle, (subsection | paragraph
h) *) ”.

【0042】その他の場合,要素型役割指定部11か
ら”段落”に対応する要素型名を取り出し,その要素型
名をorigGIの値とする。そして,この要素型の内
容(内容リスト)を前記要素型名に対応する図3の基本
文書型定義の要素型の内容と同一にする。
In other cases, the element type name corresponding to the "paragraph" is extracted from the element type role designating section 11 and the element type name is set as the value of origGI. The content (content list) of this element type is made the same as the content of the element type of the basic document type definition of FIG. 3 corresponding to the element type name.

【0043】例えば,図7における”公開番号”の場
合,図6に示す”段落”に対応する要素型名”para
graph”を要素型役割指定部11から取り出し,”
paragraph”をorigGIの値とする。そし
て,この要素型の内容(内容リスト)は,図3の基本文
書型定義の要素型”paragraph”の内容と同一
にする。すなわち”(#PCDATA)”と記す。
For example, in the case of "public number" in FIG. 7, element type name "para" corresponding to "paragraph" shown in FIG.
“Graph” is taken out from the element type role designation unit 11,
"paragraph" is the value of origGI. And the content (content list) of this element type is the same as the content of the element type "paragraph" of the basic document type definition in Fig. 3. That is, "(#PCDATA)" Write down.

【0044】図9は,文書型定義導出部13によって導
出された埋め込み表現文書型定義の例を示している。埋
め込み表現文書型定義とは,要素型の意味を属性”ro
le”の値として表現した文書型定義のことをいう。埋
め込み表現文書型定義の要素型の名前は図3に示す基本
文書型定義と同様である。
FIG. 9 shows an example of the embedded representation document type definition derived by the document type definition deriving unit 13. Embedded expression document type definition is the meaning of element type
The document type definition expressed as the value of "le". The element type name of the embedded representation document type definition is the same as the basic document type definition shown in FIG.

【0045】埋め込み表現文書型定義を導出するには,
導出文書型情報指定部12から要素型を順次取り出して
以下の処理を行う。
To derive the embedded representation document type definition,
Element types are sequentially taken out from the derived document type information designating unit 12 and the following processing is performed.

【0046】まず,導出文書型情報指定部12から取り
出された要素型に子要素型がある場合について説明す
る。文書型定義導出部13は,導出文書型情報指定部1
2から取り出された要素型のインデントの量に基づい
て,要素型役割指定部11から対応する章節要素型名を
取り出し,導出文書型情報指定部12から取り出された
要素型名をrole属性の取り得る値に加える。
First, a case will be described in which the element type extracted from the derived document type information specifying unit 12 has a child element type. The document type definition deriving unit 13 is a derived document type information specifying unit 1.
Based on the amount of indentation of the element type extracted from 2, the corresponding chapter section element type name is extracted from the element type role specification unit 11, and the element type name extracted from the derived document type information specification unit 12 is acquired by the role attribute. Add to the value you get.

【0047】例えば,導出文書型情報指定部12から取
り出された要素型のインデントの量が0の場合,即ち図
7における”公開特許”の場合,図6に示す”文書全
体”に対応する要素型名である”doc”を要素型役割
指定部11から取り出し,”公開特許”をrole属性
の取り得る値に加える。
For example, when the amount of indentation of the element type extracted from the derived document type information designating section 12 is 0, that is, in the case of "public patent" in FIG. 7, the element corresponding to "entire document" shown in FIG. The type name “doc” is taken out from the element type role designation unit 11, and “public patent” is added to the possible values of the role attribute.

【0048】また,導出文書型情報指定部12から取り
出された要素型のインデントの量が1の場合,即ち図7
における”発明の詳細な説明”の場合,図6に示す”第
1レベル章節”に対応する要素型名である”secti
on”を要素型役割指定部11から取り出し,”発明の
詳細な説明”をrole属性の取り得る値に加える。
Further, when the amount of indentation of the element type extracted from the derived document type information designating section 12 is 1, that is, FIG.
In the case of "Detailed description of the invention" in, the element type name "secti" corresponding to the "first level chapter" shown in FIG.
“On” is taken out from the element type role designation unit 11 and “detailed description of the invention” is added to the possible values of the role attribute.

【0049】次に,要素型に子要素型がない場合につい
て説明する。要素型に子要素型がない場合としては,要
素型名の最後が”リスト”で終わっている場合,要素型
名に”$”マークがついている場合及びその他の場合が
ある。
Next, the case where the element type has no child element type will be described. When the element type has no child element type, the element type name ends with "list", the element type name is marked with "$", or other cases.

【0050】まず,導出文書型情報指定部12から取り
出された要素型名の最後が”リスト”である場合,例え
ば図7における”特許請求項リスト”の場合,図6に示
す”リスト”に対応する要素型名”list”を要素型
役割指定部11から取り出し,”特許請求項リスト”を
role属性の取り得る値に加える。
First, when the end of the element type name extracted from the derived document type information specifying unit 12 is "list", for example, "patent claim list" in FIG. 7, it is changed to "list" shown in FIG. The corresponding element type name “list” is taken out from the element type role specifying unit 11, and “claim list” is added to the possible values of the role attribute.

【0051】要素型名に”$”マークがついている場
合,導出文書型情報指定部12から取り出された要素型
のインデントの量に基づいて,要素型役割指定部11か
ら対応する章節要素型名を取り出し,導出文書型情報指
定部12から取り出された要素型の名前をrole属性
の取り得る値に加える。
When the element type name is marked with "$", the corresponding chapter / section element type name from the element type role designation section 11 is determined based on the indent amount of the element type extracted from the derived document type information designation section 12. Is taken out, and the name of the element type taken out from the derived document type information specifying unit 12 is added to the possible values of the role attribute.

【0052】例えば,”$”マークがついた図7におけ
る”従来の技術”の場合,インデントの量が2であるた
め図6に示す”第2レベル章節”に対応する要素型名”
subsection”を要素型役割指定部11から取
り出し,”従来の技術”をrole属性の取り得る値に
加える。
For example, in the case of "prior art" in FIG. 7 with "$" mark, since the amount of indent is 2, the element type name corresponding to "second level chapter section" shown in FIG.
"subsection" is taken out from the element type role designation unit 11, and "conventional technology" is added to the possible values of the role attribute.

【0053】その他の場合,要素型役割指定部11か
ら”段落”に対応する要素型名を取り出し,導出文書型
情報指定部12から取り出された要素型の名前をrol
e属性の取り得る値に加える。
In other cases, the element type name corresponding to the "paragraph" is extracted from the element type role specifying section 11 and the element type name extracted from the derived document type information specifying section 12 is roll.
e Add to the possible values of the attribute.

【0054】例えば,図7における”公開番号”の場
合,要素型役割指定部11から図6に示す”段落”に対
応する要素型名”paragraph”を取り出し,”
公開番号”をrole属性の取り得るに加える。
For example, in the case of "public number" in FIG. 7, the element type name "paragraph" corresponding to the "paragraph" shown in FIG.
Add "public number" to possible role attributes.

【0055】[文書変換部]文書変換部14は,直接表
現型文書と埋め込み表現型文書とを相互に変換するもの
である。直接表現型文書(ユーザがエディタ等で作成)
の例を図10に,図10に示す直接表現型文書から変換
した埋め込み表現型文書の例を図11に示す。
[Document Converting Section] The document converting section 14 mutually converts a direct phenotype document and an embedded phenotype document. Direct phenotype document (created by user with editor etc.)
10 and an example of an embedded phenotype document converted from the direct phenotype document shown in FIG.

【0056】直接表現型文書から埋め込み表現型文書に
変換するには,各要素に対して以下の手順を適用する。
To convert a direct phenotype document to an embedded phenotype document, the following procedure is applied to each element.

【0057】要素がorigGI属性を有する場合,そ
の値で要素型名を置換すると共にrole属性を新たに
設け,role属性値に元の要素型名を記録する。そし
てorigGI属性を削除する。なお,要素型がori
gGI属性を有しない場合は何も処理を行わない。
When the element has the origGI attribute, the element type name is replaced with the value and the role attribute is newly provided, and the original element type name is recorded in the role attribute value. Then, the origGI attribute is deleted. The element type is ori
If it does not have the gGI attribute, no processing is performed.

【0058】また,要素が章節又は段落要素型であり,
かつ子要素を有する場合は,タイトル要素を生成し,タ
イトル要素に”生成”という値を持つrole属性を設
ける。そのタイトル要素の内容には元の要素型名を入れ
る。多くの文書型定義では,章節要素の最初の子要素が
タイトル要素でなければならないことが多いため,この
ような処理が必要である。
Further, the element is a chapter or paragraph element type,
And when it has a child element, a title element is generated and the title element is provided with a role attribute having a value of "generation". Put the original element type name in the content of the title element. This is necessary because in many document type definitions, the first child element of a chapter section element must often be the title element.

【0059】埋め込み表現型文書から直接表現型文書に
変換するには,各要素に対して以下の手順を適用する。
In order to directly convert an embedded phenotype document into a phenotype document, the following procedure is applied to each element.

【0060】要素がrole属性を有する場合,その値
で要素型名を置換すると共にorigGI属性を新たに
設け,origGI属性の値に元の要素型名を記録す
る。そしてrole属性を削除する。
When the element has the role attribute, the element type name is replaced with the value, and the origGI attribute is newly provided, and the original element type name is recorded as the value of the origGI attribute. Then, the role attribute is deleted.

【0061】また,要素のrole属性の値が”生成”
である場合,その要素全体を削除する。
The value of the role attribute of the element is "generate".
, Then delete the entire element.

【0062】なお,要素型がrole属性を有しない場
合は何も処理を行わない。
If the element type does not have the role attribute, no processing is performed.

【0063】[0063]

【発明の効果】以上説明したように,本発明に係る構造
化文書の処理装置(請求項1)によれば,文書型名から
対応する文書型定義の要素型が決定されるため,直感的
に理解し易く,簡潔な文書型定義の記述を行うことがで
きる。利用者が文書型定義を記述する必要がないため,
新たな文書型定義の設計・保守が容易となる。
As described above, according to the structured document processing apparatus (Claim 1) of the present invention, the element type of the corresponding document type definition is determined from the document type name, which is intuitive. It is easy to understand and can describe concise document type definition. Since the user does not need to describe the document type definition,
Designing and maintaining a new document type definition becomes easy.

【0064】また,本発明に係る構造化文書の処理装置
(請求項2)によれば,文書型名にインデントを付加す
るのみで対応する文書型定義の要素が決まるため,直感
的に理解し易く,簡潔な文書型定義の記述を行うことが
できる。したがって,新たな文書型定義の設計・保守が
容易となる。
Further, according to the structured document processing apparatus (Claim 2) of the present invention, the element of the corresponding document type definition is determined only by adding the indent to the document type name. Easy and concise description of document type definition is possible. Therefore, it becomes easy to design and maintain a new document type definition.

【0065】また,本発明に係る構造化文書の処理装置
(請求項3)によれば,文書型名に表示を選択的に付加
するのみで対応する文書型定義の要素が決まるため,直
感的に理解し易く,簡潔な文書型定義の記述を行うこと
ができる。したがって,新たな文書型定義の設計・保守
が容易となる。
Further, according to the structured document processing apparatus (Claim 3) of the present invention, the element of the corresponding document type definition is determined only by selectively adding the display to the document type name, which is intuitive. It is easy to understand and can describe concise document type definition. Therefore, it becomes easy to design and maintain a new document type definition.

【0066】また,本発明に係る構造化文書の処理装置
(請求項4)によれば,要素の意味を要素型の名前とし
て陽に表した直接表現型文書と要素の意味を属性として
陰に表現した埋め込み表現型文書の両者を作成すること
ができるため,アプリケーションの特性に応じて便利な
文書を選択して使い分けることができる。
According to the structured document processing device of the present invention (claim 4), the direct phenotype document in which the meaning of the element is explicitly expressed as the name of the element type and the meaning of the element is hidden as the attribute. Since both of the expressed embedded phenotype documents can be created, a convenient document can be selected and used according to the characteristics of the application.

【0067】また,本発明に係る構造化文書の処理装置
(請求項5)によれば,直接表現型文書から埋め込み表
現型文書に変換する場合,直接表現文書型定義には存在
せず,埋め込み表現文書型定義では必須となる要素型の
要素を自動的に生成することにしたため,エラーの発生
を防止することができる。また,埋め込み表現型文書か
ら直接表現型文書に変換する際,自動的に生成した要素
を自動的に削除することにしたため,同じくエラーの発
生を防止することができる。
Further, according to the structured document processing apparatus (Claim 5) of the present invention, when a direct phenotype document is converted into an embedded phenotype document, it does not exist in the direct expression document type definition and is embedded. Since it has been decided to automatically generate the element of the element type that is mandatory in the expression document type definition, it is possible to prevent the occurrence of an error. Further, when the embedded phenotype document is directly converted to the phenotype document, the automatically generated element is automatically deleted, so that the same error can be prevented.

【0068】更に,本発明に係る構造化文書の処理装置
(請求項6)によれば,直接表現型文書で属性値として
表現される情報を埋め込み表現型文書で要素型名として
表現することにしたため,エディタやブラウザ等のアプ
リケーションで前記情報を陽に表示することができ認知
度を上げることができる。
Further, according to the structured document processing apparatus of the present invention (claim 6), the information expressed as the attribute value in the direct phenotype document is expressed as the element type name in the embedded phenotype document. Therefore, the information can be explicitly displayed by an application such as an editor or a browser, and the degree of recognition can be increased.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態に係る構造化文書の処理装
置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a structured document processing device according to an embodiment of the present invention.

【図2】文書型定義を説明するための説明図である。FIG. 2 is an explanatory diagram for explaining a document type definition.

【図3】文書型定義を説明するための説明図である。FIG. 3 is an explanatory diagram illustrating a document type definition.

【図4】図2に示す文書型定義に従った文書本体を説明
するための説明図である。
FIG. 4 is an explanatory diagram for explaining a document body according to the document type definition shown in FIG.

【図5】図3に示す文書型定義に従った文書本体を説明
するための説明図である。
5 is an explanatory diagram for explaining a document body according to the document type definition shown in FIG.

【図6】本発明の実施の形態に係る構造化文書の処理装
置において,予め定められた役割に対応する要素型名を
指定する要素型役割指定部を説明するための説明図であ
る。
FIG. 6 is an explanatory diagram for explaining an element type role specifying unit that specifies an element type name corresponding to a predetermined role in the structured document processing device according to the embodiment of the present invention.

【図7】本発明の実施の形態に係る構造化文書の処理装
置において,新たに生成する文書型に対し情報を指定す
る導出文書型情報指定部を説明するための説明図であ
る。
FIG. 7 is an explanatory diagram for explaining a derived document type information specifying unit that specifies information for a newly generated document type in the structured document processing device according to the embodiment of the present invention.

【図8】本発明の実施の形態に係る構造化文書の処理装
置において,文書型定義導出部によって導出された直接
表現文書型定義を説明するための説明図である。
FIG. 8 is an explanatory diagram for describing a direct expression document type definition derived by a document type definition deriving unit in the structured document processing device according to the embodiment of the present invention.

【図9】本発明の実施の形態に係る構造化文書の処理装
置において,文書型定義導出部によって導出された埋め
込み表現文書型定義を説明するための説明図である。
FIG. 9 is an explanatory diagram for explaining an embedded representation document type definition derived by a document type definition deriving unit in the structured document processing device according to the embodiment of the present invention.

【図10】直接表現型文書を説明するための説明図であ
る。
FIG. 10 is an explanatory diagram illustrating a direct phenotype document.

【図11】埋め込み表現型文書を説明するための説明図
である。
FIG. 11 is an explanatory diagram illustrating an embedded phenotype document.

【符号の説明】[Explanation of symbols]

10 基本文書型定義保持部 11 要素型役割指定部 12 導出文書型情報指定部 13 文書型定義導出部 14 文書変換部 10 Basic Document Type Definition Holding Section 11 Element Type Role Designating Section 12 Derived Document Type Information Designating Section 13 Document Type Definition Deriving Section 14 Document Converting Section

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 新たな文書型に基づいて,文書を構成す
る要素の型を定義する既存の文書型定義から新たな文書
型定義を導出する構造化文書の処理装置において,前記
新たな文書型定義の基本となる基本文書型定義を保持す
る基本文書型定義保持手段と,前記基本文書型定義の各
要素型に対しそれぞれ役割を指定する要素型役割指定手
段と,前記新たな文書型の各要素型に対し固有の情報を
指定する導出文書型情報指定手段と,前記新たな文書型
の各要素型に対して指定された前記固有の情報と前記基
本文書型定義の各要素型に対して指定された役割とに基
づいて前記新たな文書型の各要素型と前記基本文書型定
義の各要素型との対応関係をそれぞれ決定し,前記対応
関係に基づいて前記基本文書型定義から前記新たな文書
型定義を導出する文書型定義導出手段と,を備えること
を特徴とする構造化文書の処理装置。
1. A structured document processing device for deriving a new document type definition from an existing document type definition that defines a type of an element that constitutes a document based on the new document type. Basic document type definition holding means for holding a basic document type definition which is the basis of definition, element type role specifying means for specifying a role for each element type of the basic document type definition, and each of the new document types Derived document type information designating means for designating unique information for the element type, the unique information designated for each element type of the new document type, and each element type of the basic document type definition The correspondence between each element type of the new document type and each element type of the basic document type definition is determined based on the designated role, and based on the correspondence, the basic document type definition For deriving a simple document type definition A structured document processing device, comprising: a type definition derivation means.
【請求項2】 請求項1記載の構造化文書の処理装置に
おいて,前記新たな文書型の各要素型に対して指定され
る前記固有の情報が,前記新たな文書型の各要素型の相
互関係を規定するインデントであり,前記導出型情報指
定手段が,前記新たな文書型の各要素型の親子関係に応
じて異なる量の前記インデントを前記各要素型に対しそ
れぞれ付加することを特徴とする構造化文書の処理装
置。
2. The structured document processing device according to claim 1, wherein the unique information designated for each element type of the new document type is the mutual information of each element type of the new document type. It is an indent that defines a relationship, and the derived type information designating means adds a different amount of the indent to each element type depending on a parent-child relationship of each element type of the new document type. Structured document processing device.
【請求項3】 請求項1記載の構造化文書の処理装置に
おいて,前記新たな文書型の各要素型に対して指定され
る前記固有の情報が,前記新たな文書型の各要素型の相
互関係を規定する表示であり,前記導出型情報指定手段
が,前記新たな文書型の各要素型の親子関係に応じて前
記各要素型に前記表示を選択的に付加することを特徴と
する構造化文書の処理装置。
3. The structured document processing apparatus according to claim 1, wherein the unique information designated for each element type of the new document type is the mutual information of each element type of the new document type. A display defining relationships, wherein the derived type information designating means selectively adds the display to each element type according to the parent-child relationship of each element type of the new document type Document processing device.
【請求項4】 請求項1記載の構造化文書の処理装置に
おいて,前記文書型定義導出手段が,要素型の意味を要
素型の名前として表現した直接表現文書型定義と要素型
の意味を要素型の属性として表現した埋め込み表現文書
型定義の少なくとも一方を導出することを特徴とする構
造化文書の処理装置。
4. The structured document processing device according to claim 1, wherein said document type definition deriving means expresses the meaning of the element type as the name of the element type and the direct expression document type definition and the meaning of the element type as elements. A structured document processing device characterized by deriving at least one of an embedded expression document type definition expressed as a type attribute.
【請求項5】 請求項4記載の構造化文書の処理装置に
おいて,更に,互いに等価な前記直接表現文書型定義に
従う文書と前記埋め込み表現文書型定義に従う文書とを
相互に変換する文書変換手段を備え,前記文書変換手段
が,前記直接表現文書型定義に従う文書から前記埋め込
み表現文書型定義に従う文書に変換する場合,前記直接
表現文書型定義の所定の要素に関連して構文上不足する
要素を特定の属性と共に生成し,かつ前記埋め込み表現
文書型定義に従う文書から前記直接表現文書型定義に従
う文書に変換する場合,前記埋め込み表現文書型定義の
所定の要素に関連して構文上余分な要素を特定の属性と
共に削除することを特徴とする構造化文書の処理装置。
5. The structured document processing apparatus according to claim 4, further comprising a document conversion means for mutually converting a document conforming to the direct expression document type definition and a document conforming to the embedded expression document type definition. When the document conversion means converts a document conforming to the direct expression document type definition into a document conforming to the embedded expression document type definition, an element that is syntactically insufficient in relation to a predetermined element of the direct expression document type definition is included. When converting a document according to the embedded expression document type definition into a document according to the direct expression document type definition, a syntactical extra element is generated in association with a predetermined element of the embedded expression document type definition. An apparatus for processing a structured document characterized by deleting together with a specific attribute.
【請求項6】 請求項5記載の構造化文書の処理装置に
おいて,前記文書変換手段が,前記直接表現文書型定義
の所定の要素に関連して構文上不足する要素を特定の属
性と共に生成する場合,前記所定の要素に含まれる要素
型名を生成した要素の内容に付加することを特徴とする
構造化文書の処理装置。
6. The structured document processing apparatus according to claim 5, wherein the document conversion unit generates a syntactically deficient element in association with a predetermined element of the direct expression document type definition together with a specific attribute. In this case, the structured document processing device is characterized in that the element type name included in the predetermined element is added to the content of the generated element.
JP16662996A 1996-06-07 1996-06-07 Structured document processing device Expired - Fee Related JP3602653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16662996A JP3602653B2 (en) 1996-06-07 1996-06-07 Structured document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16662996A JP3602653B2 (en) 1996-06-07 1996-06-07 Structured document processing device

Publications (2)

Publication Number Publication Date
JPH09330315A true JPH09330315A (en) 1997-12-22
JP3602653B2 JP3602653B2 (en) 2004-12-15

Family

ID=15834838

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16662996A Expired - Fee Related JP3602653B2 (en) 1996-06-07 1996-06-07 Structured document processing device

Country Status (1)

Country Link
JP (1) JP3602653B2 (en)

Also Published As

Publication number Publication date
JP3602653B2 (en) 2004-12-15

Similar Documents

Publication Publication Date Title
AU2006200047B2 (en) Data store for software application documents
US7143344B2 (en) Transformation stylesheet editor
US9104740B2 (en) Enhanced attribute synchronization in a content management system
US7464330B2 (en) Context-free document portions with alternate formats
US8166449B2 (en) Live bidirectional synchronizing of a visual and a textual representation
US7644095B2 (en) Method and system for compound document assembly with domain-specific rules processing and generic schema mapping
US20080077631A1 (en) Multi-document attribute synchronization in a content management system
KR20110003490A (en) Simultaneous collaborative review of a document
US20070136353A1 (en) System and method for data model and content migration in content management application
KR101311123B1 (en) Programmability for xml data store for documents
Dekker et al. It’s more than just overlap: Text As Graph
JP2006178946A (en) File format, method and computer program product for representing workbook
US20090113289A1 (en) Method for automatically creating transforms
WO1999059077A1 (en) Computational architecture for reasoning involving extensible graphical representations
Di Iorio et al. A Semantic Web approach to everyday overlapping markup
US8244694B2 (en) Dynamic schema assembly to accommodate application-specific metadata
US20080295013A1 (en) Method and apparatus for performing semantically informed text operations
Akpotsui et al. Type transformation in structured editing systems
Ono et al. XSLT stylesheet generation by example with WYSIWYG editing
CN107408104B (en) Declarative cascading reordering of styles
JPH09330315A (en) Processor for structured document
Meyer aTool: Creating Validated XML Documents on the fly using MS Word
Wood et al. Document Object Model (DOM) Level 2 Specification
Kesselman et al. Document object model (dom) level 2 traversal and range specification
JP4410005B2 (en) Structured document structure conversion device and program

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040921

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040924

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081001

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081001

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091001

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101001

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111001

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121001

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131001

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees