Browse Prior Art Database

Specifying Tag Attribute Usage in a Shell Structure

IP.com Disclosure Number: IPCOM000035165D
Original Publication Date: 1989-Jun-01
Included in the Prior Art Database: 2005-Jan-28
Document File: 2 page(s) / 13K

Publishing Venue

IBM

Related People

Barker, BA: AUTHOR [+3]

Abstract

Management of tags embedded in a data stream is provided by a shell structure. Formatting directives and routines for processing the data stream within the scope of an embedded tag are specified by the shell. The scope of an embedded tag is determined by the begin and end tag controls that envelope that portion of the data stream that follows or is associated with the begin tag. Typically, each tag is associated with a single set of attributes that is used to format and process that portion of the data stream scoped by a specific tag. Sometimes a particular tag can appear at different levels within the hierarchy defined by the shell structure.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 2

Specifying Tag Attribute Usage in a Shell Structure

Management of tags embedded in a data stream is provided by a shell structure. Formatting directives and routines for processing the data stream within the scope of an embedded tag are specified by the shell. The scope of an embedded tag is determined by the begin and end tag controls that envelope that portion of the data stream that follows or is associated with the begin tag. Typically, each tag is associated with a single set of attributes that is used to format and process that portion of the data stream scoped by a specific tag. Sometimes a particular tag can appear at different levels within the hierarchy defined by the shell structure. For example, a paragraph can occur in the abstract of a document and is formatted according to attributes specified in an attribute set named "ATTSET1," or it can appear in the body portion of the same document with its formatting specified by attribute set "ATTSET2." In prior-art systems, such as SGML (Standard Generalized Markup Language), this problem is addressed by specifying a unique tag name for each of the two formats, i.e., P1 for a paragraph occurring in the abstract and P2 for a paragraph in the body. This is an acceptable solution when the number of format variations is small, but when the number of variations is large, undue operator frustration and excess processing overhead can result.

A solution to this problem is to provide a means of associating multiple sets of attributes with a single tag, and to indicate in the shell the conditions that determine the usage of a specific attribute set. When the attribute set choice is determined by the location of the tag relative to other tagged constructs defined in the shell structure hierarchy, a reference to a structure containing an ordered list of a tagged construct's ancestors and an associated set of attributes is provided. The reference is implemented by an Ancestor List - Attribute Set Pair (Class 26) Document...