KR20010035005A - An effective method for specifying style information to XML document - Google Patents

An effective method for specifying style information to XML document Download PDF

Info

Publication number
KR20010035005A
KR20010035005A KR1020000050431A KR20000050431A KR20010035005A KR 20010035005 A KR20010035005 A KR 20010035005A KR 1020000050431 A KR1020000050431 A KR 1020000050431A KR 20000050431 A KR20000050431 A KR 20000050431A KR 20010035005 A KR20010035005 A KR 20010035005A
Authority
KR
South Korea
Prior art keywords
document
xml document
xml
tag
mark
Prior art date
Application number
KR1020000050431A
Other languages
Korean (ko)
Inventor
채진석
최한석
Original Assignee
채진석
최한석
주식회사 한국지식웨어
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 채진석, 최한석, 주식회사 한국지식웨어 filed Critical 채진석
Priority to KR1020000050431A priority Critical patent/KR20010035005A/en
Publication of KR20010035005A publication Critical patent/KR20010035005A/en

Links

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

Abstract

PURPOSE: The method for designating the external shape information of an extended markup language(XML) document is provided to form a picture that can be output as displayed when an XML document is written, and to enable the current location of the document to be checked quickly, by representing the tag of the document as a mark with the size and color that do not affect the shape of the document. CONSTITUTION: The tag that is an edit element of the XML document is replaced with a mark, which is formed of lines, so that an XML document editor can add a style sheet easily. The lines of the mark have the width that does not affect the external shape of the XML document. The mark, comprised of the lines, sets colors differently from each other according to the depth of each tag.

Description

XML 문서의 외형 정보 지정 방법{An effective method for specifying style information to XML document}An effective method for specifying style information to XML document}

본 발명은 XML 문서에 적용될 스타일시트 작성시 XML 문서에 사용되는 태그의 위치를 표현하는 방법에 관한 것으로서, 특히 태그의 위치를 색에 따라 구별되는 마크로 대체한 기술에 관한 것이다.The present invention relates to a method of expressing a position of a tag used in an XML document when creating a style sheet to be applied to an XML document, and more particularly, to a technique of replacing a position of a tag with a mark distinguished according to colors.

최근, 많은 XML 문서 편집기들이 제작되어 출시되고 있다.Recently, many XML text editors have been produced and released.

그러나, 이들이 보여주는 화면은 보통 문서 편집기와는 차이가 있다. 즉, XML 문서의 요소인 여러 가지 태그들을 처리함에 있어서 이들을 화면상 문서의 내용에서 배제하지 않고 그대로 표시하기 때문에 일반적인 문서 편집기들에 의해 보여지는 그대로 출력될 수 있는 화면을 제공하지 못한다. 이로 인해 문서 제작시 문서 외형 구성에 사용되는 스타일시트와의 연계를 어렵게 하는 단점이 있다.However, the screens they display are different from normal text editors. That is, in processing various tags that are elements of an XML document, they are displayed as they are without being excluded from the contents of the on-screen document, and thus, a screen that can be output as it is seen by general text editors cannot be provided. For this reason, there is a disadvantage in that it is difficult to link with the style sheet used for document appearance composition during document production.

물론, 기존의 편집 방법으로도 충분히 문서에 스타일시트를 적용할 수 있으나, 이 경우 문서작성자가 일일이 선택한 태그의 위치와 이름을 기억해야 하고, 스타일을 선택한 다음 이를 문서로 저장한 후 다시 브라우저로 확인해야 하는 작업이 필요하므로 그 절차가 매우 복잡하다.Of course, you can apply stylesheets to the document well enough with existing editing methods, but in this case, the creator of the document must remember the location and name of the selected tag, select the style, save it as a document, and check it back in the browser. The procedure is very complicated because it requires work to be done.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위하여 이루어진 것으로써, XML 문서의 요소인 태그를 문서의 외형에 영향을 주지 않을 정도의 크기와 색을 갖는 마크(mark)로 표현하여 XML 문서를 작성할 때 스타일시트와 연계하여 나타난 그대로 출력할 수 있는 화면을 구성할 수 있도록 하며, 문서 편집 중 현 위치를 신속하게 파악할 수 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention has been made to solve the above problems, and the XML document is created by expressing a tag, which is an element of the XML document, as a mark having a size and color that does not affect the appearance of the document. The purpose is to provide a way to compose a screen that can be output as it appears in conjunction with a style sheet, and to provide a quick way to identify the current position during document editing.

상기 목적을 달성하기 위한 본 발명은, XML 문서의 편집요소인 태그를 문서의 외향에 영향을 주지 않을 정도의 두께의 선으로 구성된 마크로 대체하여 XML문서 편집기에서 스타일시트를 용이하게 추가할 수 있도록 표시하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a tag for easily adding a style sheet in an XML document editor by replacing a tag, which is an editing element of an XML document, with a mark composed of lines thick enough to not affect the outward direction of the document. Characterized in that.

상기 선으로 구성된 마크는 각 태그의 깊이에 따라 색을 차별하여 설정하는 것을 특징으로 한다.The mark composed of the lines is set to discriminate the color according to the depth of each tag.

도 1은 일반적인 XML 문서의 구조.1 is a structure of a typical XML document.

도 2는 본 발명을 문서 편집기에 적용한 경우의 도면.2 is a diagram when the present invention is applied to a text editor.

도 3은 XML 문서를 실제 브라우저에서 표시한 경우의 도면.3 is a view of an XML document displayed in a real browser.

도 4는 본 발명을 실현하기 위한 시스템 구성도.4 is a system configuration diagram for realizing the present invention.

* 도면의 주요부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

1 ------ 키입력부 2 ------ 제어부1 ------ Key input 2 ------ Control

3 ------ 저장부 4 ------ 디스플레이부3 ------ Storage 4 ------ Display

5 ------ 프린트부5 ------ Print

이하, 본 발명의 실시 예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도1은 일반적인 XML 문서이다.1 is a general XML document.

도 1에 도시한 바와 같이 XML 문서는 태그들의 포함관계가 존재하고, 대부분의 XML 문서 편집기들은 이러한 포함관계를 구조적으로 표현하기 위해 태그들을 깊이 순서에 따라 정렬시키는 방법으로 문서를 표현한다.As shown in FIG. 1, XML documents contain tags, and most XML document editors express documents by arranging tags in depth order to structurally express such tags.

이러한 방법을 사용하여 문서를 표현하면 문서의 구조정보는 확실하게 편집자의 시야를 통해 확인되므로 편리한 점도 있지만 이와 같은 상태가 곧 문서의 외형을 나타내는 것은 아니므로 최종확인을 위해서는 상술한 별도의 동작이 필요하게 된다.When expressing a document using this method, the structural information of the document is clearly confirmed through the visual field of the editor, which is convenient. However, the above-described separate operation is required for final confirmation because such a state does not immediately indicate the appearance of the document. Done.

따라서, 도 1에 도시한 화면 좌우에 나타나는 태그들을 도 2에 도시한 마크로 표현하는 것이 본 발명의 주요 특징이다.Therefore, it is a main feature of the present invention to express the tags shown on the left and right sides of the screen shown in FIG. 1 with the marks shown in FIG. 2.

이와 같은 동작을 위해서는 각 태그들에 상응하는 마크와 깊이를 나타내는 색들이 미리 약속된 상태로 저장부에 저장되어야 한다.For this operation, colors representing the mark and the depth corresponding to each tag should be stored in the storage unit in a predetermined state.

즉, 도 4에 도시한 바와 같이 문서편집 명령을 입력하는 키입력부(1)와, 각 태그들에 상응하는 마크, 깊이에 상응하는 여러 가지의 색을 저장하는 저장부(3)와, 키입력부(1)를 통해 각 태그들을 이용한 문서편집 명령이 입력되면 어떠한 태그들을 표시하여야 하는지를 판단하고 그 판단결과에 따라 저장부(3)에 저장된 마크 및 색을 선택하여 디스플레이부(4)(화면)에 표시하도록 제어하는 제어부(2)와, 편집된 문서를 제어부(2)의 명령에 따라 인쇄하는 프린트부(5)가 본 발명의 방법을 실현시키기 위한 시스템으로 이용된다.That is, a key input unit 1 for inputting a document editing command as shown in FIG. 4, a storage unit 3 for storing various colors corresponding to marks and depths corresponding to each tag, and a key input unit When a document editing command using the respective tags is input through (1), it is determined which tags should be displayed, and the marks and colors stored in the storage unit 3 are selected according to the determination result and displayed on the display unit 4 (screen). The control unit 2 which controls to display and the printing unit 5 which prints the edited document according to the command of the control unit 2 are used as a system for realizing the method of the present invention.

도 4의 제어시스템의 제어동작에 따라 도 1에 상응하여 나타나는 도 2와 같이, 태그를 간단한 마크로 대체할 경우 문서의 표현을 구조중심이 아니라, 외형 구성 중심으로 편성할 수 있기 때문에 스타일시트를 적용하기가 용이하고, 적용한 스타일을 그대로 문서 표현에 반영하므로 문서 자체에 스타일을 줄 수 없는 XML 문서에 외부 스타일을 화면에 나타나는대로 출력할 수 있도록 한다.As shown in FIG. 2 corresponding to FIG. 1 according to the control operation of the control system of FIG. 4, when a tag is replaced with a simple mark, the style sheet is applied because the representation of the document can be organized not by the structure but by the appearance configuration. It is easy to do and reflects the applied styles in the document representation so that external styles can be output as they appear on the screen in XML documents that cannot style the document itself.

도 3은 도 2의 도면에서 태그에 상응하도록 나타난 마크 및 색이 삭제되어 디스플레이된 문서의 예를 도시한 것이다.FIG. 3 illustrates an example of a document in which marks and colors shown corresponding to tags in the drawing of FIG. 2 are deleted and displayed.

상술한 바와 같이 본 발명의 XML 문서의 외형정보 지정방법에 따르면, 화면상에 태그를 나타내지 않고 문서를 표시하기 때문에 XML 문서의 외형을 나타난 그대로를 출력할 수 있는 화면으로 제공하며, 문서 편집시 태그를 대체한 마크가 각각 다른 색을 가지고 있으므로 현재 편집중인 태그의 깊이를 용이하게 인식할 수 있도록 하는 이점이 있다.As described above, according to the method of designating the appearance information of the XML document of the present invention, since the document is displayed without displaying the tag on the screen, the appearance of the XML document is provided as a screen that can be output as it is, and the tag is edited. Since the marks replacing each have a different color, there is an advantage that it is easy to recognize the depth of the tag currently being edited.

Claims (2)

XML 문서의 편집요소인 태그를 문서의 외향에 영향을 주지 않을 정도의 두께의 선으로 구성된 마크(mark)로 대체하여 XML 문서 편집기에서 스타일시트를 용이하게 추가할 수 있도록 표시하는 것을 특징으로 하는 XML문서의 외형정보 지정방법.XML, which is an editing element of an XML document, and is replaced with a mark composed of lines thick enough to not affect the document outward so that the XML document editor can easily add a style sheet. How to specify the appearance information of the document. 제 1항에 있어서, 상기 선으로 구성된 마크는 각 태그의 깊이에 따라 색을 차별하여 설정하는 것을 특징으로 하는 XML문서의 외형정보 지정방법.The method of claim 1, wherein the mark formed by the lines is set to discriminate colors according to the depth of each tag.
KR1020000050431A 2000-08-29 2000-08-29 An effective method for specifying style information to XML document KR20010035005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000050431A KR20010035005A (en) 2000-08-29 2000-08-29 An effective method for specifying style information to XML document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000050431A KR20010035005A (en) 2000-08-29 2000-08-29 An effective method for specifying style information to XML document

Publications (1)

Publication Number Publication Date
KR20010035005A true KR20010035005A (en) 2001-05-07

Family

ID=19685860

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000050431A KR20010035005A (en) 2000-08-29 2000-08-29 An effective method for specifying style information to XML document

Country Status (1)

Country Link
KR (1) KR20010035005A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010088529A (en) * 2001-08-02 2001-09-28 정회경 System and method for editing and formatting electronic document

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816576A (en) * 1994-07-01 1996-01-19 Ricoh Co Ltd Structured document editing device
JPH09185607A (en) * 1995-12-28 1997-07-15 Dainippon Screen Mfg Co Ltd Hyper text layout device
JPH10187680A (en) * 1996-12-20 1998-07-21 Nec Corp Document repository device managed by word, sentence and grain degree of part
KR19990032414A (en) * 1997-10-17 1999-05-15 정선종 How to automatically generate table tags for creating HTML documents
KR19990073957A (en) * 1998-03-05 1999-10-05 구자홍 How to Write Etchimell Document
KR20020001277A (en) * 2000-06-27 2002-01-09 황희성 image editing method and apparatus using a java applet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816576A (en) * 1994-07-01 1996-01-19 Ricoh Co Ltd Structured document editing device
JPH09185607A (en) * 1995-12-28 1997-07-15 Dainippon Screen Mfg Co Ltd Hyper text layout device
JPH10187680A (en) * 1996-12-20 1998-07-21 Nec Corp Document repository device managed by word, sentence and grain degree of part
KR19990032414A (en) * 1997-10-17 1999-05-15 정선종 How to automatically generate table tags for creating HTML documents
KR19990073957A (en) * 1998-03-05 1999-10-05 구자홍 How to Write Etchimell Document
KR20020001277A (en) * 2000-06-27 2002-01-09 황희성 image editing method and apparatus using a java applet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010088529A (en) * 2001-08-02 2001-09-28 정회경 System and method for editing and formatting electronic document

Similar Documents

Publication Publication Date Title
US6061698A (en) Merging tagged documents and scripts having dynamic content
JP3684554B2 (en) Document processing device
US7716574B2 (en) Methods and systems for providing direct style sheet editing
US20060089728A1 (en) Sequence program editing apparatus
CN102662921B (en) A kind of document processing method, device and editing machine
KR20140070915A (en) A method and apparatus for editing the animation of web applications
KR20010035005A (en) An effective method for specifying style information to XML document
KR101790727B1 (en) System and Method for Auto Transforming Document form
CN115309476A (en) Browser-based ofd file display and editing method
JP3965836B2 (en) Image processing system
Moore Tagging with LATEX—Part 1: author considerations
JP2004094803A (en) Document creation support method and recording medium to record document creation support program
JP2007079691A (en) Working manual preparation system
KR100689095B1 (en) Showcard create system
JP2010072764A (en) Program creation device
JP3016248B2 (en) Document display device
JPS6324354A (en) Document preparing device
JPH02289089A (en) Superposing system in incorporating graphic
JPH0217567A (en) Document processing device
JP2001318911A (en) Document processor, its method and computer readable recording medium recording program for allowing computer to execute the method
Masters Acrobat X Tips
JPH0535452B2 (en)
JP2002073386A (en) Data schema generation method and its system
Karlins Adobe Creative Suite 5 Web Premium How-tos: 100 Essential Techniques
JPH06342352A (en) Information processor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E601 Decision to refuse application