Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtinfostyledtd(5) [hpux man page]

dtinfoStyle.dtd(file formats)											     dtinfoStyle.dtd(file formats)

NAME
dtinfoStyle.dtd -- dtinfo style sheet document type definition DESCRIPTION
dtinfoStyle.dtd describes the SGML features available for specifying how a document should be rendered. Style sheets associate the elements in a given document hierarchy with on-line or print formatting characteristics, and are part of the DtInfo Toolkit. With dtinfo, you use a single style sheet to specify both print and online rendering of the elements in your DTD. The print and online feature sets match in function, description, and specification, with just four exceptions for print-specific features Basic Style Sheet Format The basic style sheet format first defines autonumbers. Then, for each element (Path) the style sheet defines its feature set. For informa- tion see, "Understanding Dtinfo Style Sheets" and "Creating a Style Sheet" in CDE: Information Manager Author's and Programmer's Guide. You can also find an ASCII file of the dtinfoStyle.dtd in /usr/dt/infolib/%L/SGML/dtinfoStyle.dtd. AutoNumber To use system-generated number tokens in element formatting, first create an AutoNumber specification for each token stream. (Note that these tokens can only be used with the Prefix, Suffix, Header and Footer features.) A simple example is: <AutoNumber id=chapnum reset="Book Part" counter=chapter> A more complex example is: <AutoNumber id=fignum type=UCroman initial="I" delta=l counter="FIG TABLE" reset=chap> <path>NUMITEM</> <margin top=4pt bottom=4pt> <prefix><auto id=NumList></prefix> where: type The kind of counter values:Arabic, UCalpha, LCalpha, UCroman, LCroman. The default value is Arabic. id The unique name of this token. You can refer to this name, for example, in a Prefix. Required. initial The initial value for this token, which must be consistent with the Type. The default is 1. delta The value by which the system increments or decrements the token. The default is to increment by 1. counter The element(s) that cause this token to use the Delta to change values. Required. reset The element(s) that cause this token to reset to its initial value. Required. SEE ALSO
CDE: Information Manager Author's and Programmer's Guide, dtinfo(1), dtinfogen(1), dtinfoBook.dtd - dtinfoBookdtd(5), dtinfoTOC.dtd - dtin- foTOCdtd(5) dtinfoStyle.dtd(file formats)

Check Out this Related Man Page

XML::LibXML::Dtd(3pm)					User Contributed Perl Documentation				     XML::LibXML::Dtd(3pm)

NAME
XML::LibXML::Dtd - XML::LibXML DTD Handling SYNOPSIS
use XML::LibXML; $dtd = XML::LibXML::Dtd->new($public_id, $system_id); $dtd = XML::LibXML::Dtd->parse_string($dtd_str); $publicId = $dtd->getName(); $publicId = $dtd->publicId(); $systemId = $dtd->systemId(); DESCRIPTION
This class holds a DTD. You may parse a DTD from either a string, or from an external SYSTEM identifier. No support is available as yet for parsing from a filehandle. XML::LibXML::Dtd is a sub-class of XML::LibXML::Node, so all the methods available to nodes (particularly toString()) are available to Dtd objects. METHODS
new $dtd = XML::LibXML::Dtd->new($public_id, $system_id); Parse a DTD from the system identifier, and return a DTD object that you can pass to $doc->is_valid() or $doc->validate(). my $dtd = XML::LibXML::Dtd->new( "SOME // Public / ID / 1.0", "test.dtd" ); my $doc = XML::LibXML->new->parse_file("test.xml"); $doc->validate($dtd); parse_string $dtd = XML::LibXML::Dtd->parse_string($dtd_str); The same as new() above, except you can parse a DTD from a string. Note that parsing from string may fail if the DTD contains external parametric-entity references with relative URLs. getName $publicId = $dtd->getName(); Returns the name of DTD; i.e., the name immediately following the DOCTYPE keyword. publicId $publicId = $dtd->publicId(); Returns the public identifier of the external subset. systemId $systemId = $dtd->systemId(); Returns the system identifier of the external subset. AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas VERSION
2.0001 COPYRIGHT
2001-2007, AxKit.com Ltd. 2002-2006, Christian Glahn. 2006-2009, Petr Pajas. perl v5.14.2 2012-06-20 XML::LibXML::Dtd(3pm)
Man Page