Windows PowerShell command on Get-command sgml
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man sgml

Standards, Environments, and Macros sgml(5)

NAME

sgml, solbook - Standard Generalized Markup Language

DESCRIPTION

Standard Generalized Markup Language (SGML) is the ISO stan-

dard 8879:1986 that describes a syntax for marking up docu-

ments with tags that describe the purpose of the text rather

than the appearance on the page. This form of markup facili-

tates document interchange between different platforms and applications. SGML allows the management of information as data objects rather than text on a page. In an SGML document the main structural components are

called elements. The organization and structure of a docu-

ment and the meaning of elements are described in the Docu-

ment Type Definition ( DTD ). Elements are the tags that identify the content. Element names may be descriptive of

the content for ease of use. For example for para-

graphs. Elements can have attributes which are used to modify or refine the properties or characteristics of the element. Within the DTD a valid context for each element is

defined and a framework is provided for the types of ele-

ments that constitute a compliant document. Another component of the DTD is entities. Entities are a collection of characters that can be referenced as a unit. Entities are similar to constants in a programming language such as C. They can be defined and referenced. An entity can represent one character or symbol which does not appear on a standard keyboard, a word or group of words, or an entire

separate sgml marked-up file. Entities allow reuse of stan-

dard text. There is no single standard DTD , but the de facto standard for the computer industry is the DocBook DTD , developed

and maintained by the Davenport Group. Within Sun, the Sol-

Book DTD , which is a proper subset of DocBook DTD , is used when writing reference manual pages. The SolBook DTD contains a number of tags that are designed for the unique needs of the reference pages. SOLBOOK ELEMENTS Elements are defined with a hierarchical structure that gives a structure to the document. The following is a description of some of the elements from the SolBook DTD which are used for reference pages. DOCTYPE

SunOS 5.11 Last change: 7 Jan 1997 1

Standards, Environments, and Macros sgml(5)

The first line in an SGML file that identifies the location

of the DTD that is used to define the document. The

TYPE string is what the SGML -aware man(1) command uses to

identify that a file is formatted in SGML rather than nroff(1). RefEntry The top layer element that contains a reference page is . All of the text and other tags must be contained within this tag. RefMeta The next tag in a reference page is , which is a container for several other tags. They are: This is the title of the reference page. It is equivalent to the name of the reference page's file name, without the section number extension. This is the section number that the reference page resides in. The contents may be a text entity reference. There are one or more tags which contain meta information. Meta information is information about the reference page. The tag has the class attribute. There are four classes that are routinely used. date This is the date that the file was last modified. By consensus this date is changed only when the technical information on the page changes and not simply for an editorial change. sectdesc This is the section title of the reference page; for example User Commands.

The value of this attri-

bute may be a text entity reference.

SunOS 5.11 Last change: 7 Jan 1997 2

Standards, Environments, and Macros sgml(5)

software This is the name of the software product that the topic discussed on the reference page belongs to. For example UNIX commands are part of the SunOS x.x release. The value of this attribute may be a text entity reference. arch This is the architectural platform limitation of the subject discussed on the reference page. If there are no limitations the value used is generic. Other values are sparc and x86. copyright This attribute contains

the Sun Microsystems copy-

right. Any other copy-

rights that may pertain to the individual reference page file should be

entered as separate miscinfo> entries. The value of this attribute may be a text entity reference. RefNameDiv This tag contains the equivalent information to the .TH

macro line in an nroff(1) reference page. con-

tains three tags. These tags contain the text that is before

and after the `-' (dash) on the NAME line.

These are the names of the topics that are discussed in the file. There may be more than one for a page. The first must match the name of the file and the . If there are more than one tags, each is separated by a `,' (comma). The comma is generated by the publisher of

sgml files, so it should not be typed.

This is referred to as auto-generated

text.

SunOS 5.11 Last change: 7 Jan 1997 3

Standards, Environments, and Macros sgml(5)

The text after the dash on the NAME line

is contained in this tag. This is a short summary of what the object or objects described on the reference page do or are used for. The dash is also

auto-generated and should not be typed

in. In some cases the is a general topic descriptor of a group of related objects that are discussed on the same page. In this case the first

tag after the is a discriptor>. The tags follow. Only one is allowed, and it should match the . RefSynopsisDiv

The SYNOPSIS line of the reference page is contained by this

tag. There is a that usually contains an entity <P><H3> reference. The text is the word SYNOPSIS. There are several </H3> tags within <refsynopsisdiv> that are designed specifically for the type of synopsis that is used in the different reference page sections. The three types are: <cmdsynopsis> Used for commands and utilities pages. <funcsynopsis> Used for programming interface pages. <synopsis> Used for pages that do not fall into the other two categories. RefSect1 This tag is equivalent to the .SH nroff macro. It contains a <title> element that is the title of the reference page section. Section names are the standard names such as <P><H3> DESCRIPTION, OPTIONS, PARAMETERS, SEE ALSO, and others. The </H3> contents of the <title> may be a text entity reference. RefSect2 This tag is equivalent to the .SS nroff macro. It contains a <P><P> <title> element that contains the text of the sub-section </P><P><P> heading. <refsect2> tags may also be used within a <ref- </P><P><H3> synopsisdiv> as a sub-section heading for the SYNOPSIS sec- </H3> tion. <P><P>SunOS 5.11 Last change: 7 Jan 1997 4 </P> <P><H3>Standards, Environments, and Macros sgml(5) </H3> BLOCK ELEMENTS There are a number of block elements that are used for grouping text. This is a list of some of these elements. <P><P> <para> This tag is used to contain a para- </P> graph of text. <variablelist> This tag is used to create two column lists. For example descriptions for command options, where the first column lists the option and the second column describes the option. <orderedlist> An list of items in a specific order. <itemizedlist> A list of items that are marked with a character such as a bullet or a dash. <literallayout> Formatted program output as produced by a program or command. This tag is a container for lines set off from the main text in which line breaks, tabs, <P><P> and leading white space are signifi- </P> cant. <programlisting> A segment of program code. Line breaks <P><P> and leading white space are signifi- </P> cant. <P><P> <table> This tag contains the layout and con- </P><P><P> tent for tabular formatting of infor- </P> mation. <table> has a required <title>. <informaltable> This tag is the same as the <table> tag except the <title> is not required. <example> This tag contains examples of source <P><P> code or usage of commands. It con- </P> tains a required <title>. <P><P>SunOS 5.11 Last change: 7 Jan 1997 5 </P> <P><H3>Standards, Environments, and Macros sgml(5) </H3> <informalexample> This tag is the same as the <example> tag except the <title> is not required. INLINE ELEMENTS The inline elements are used for tagging text. <command> An executable program or the entry a user makes to execute a command. <function> A subroutine in a program or external library. <literal> Contains any literal string. <P><P> <parameter> An argument passed to a computer pro- </P> gram by a function or routine. <inlineequation> An untitled mathematical equation <P><P> occurring in-line. </P> <link> A hypertext link to text within a book, in the case of the reference manual it is used to cross reference to another reference page. <olink> A hypertext link used to create cross references to books other than the reference manual. <xref> A cross reference to another part of the same reference page. <P><H3>SEE ALSO </H3> man(1), nroff(1), man(5) <P><P>SunOS 5.11 Last change: 7 Jan 1997 6 </P> </P></pre></div><br></div><br><BR> <center> <a target="_top" href="https://www.mywebuniversity.com/contact.html"> <font size=-1 color=WHITE><B>Contact us<B></font></a>      <font size=-1 color=WHITE>|</font>      <a target="_top" href="https://www.mywebuniversity.com/contact.html"> <B><font size=-1 color=WHITE>About us</font></B></a>      <font size=-1 color=WHITE>|</font>      <a target="_top" href="https://www.mywebuniversity.com/contact.html"><font size=-1 color=WHITE>Term of use</font></a>      <font size=-1 color=WHITE>| </font>     <font size=-1 color=WHITE> <b>Copyright © 2000-2019 MyWebUniversity.com ™</b></font> </center> </body> </html>