Re: Accessing "types" from SGML Doc

Subject: Re: Accessing "types" from SGML Doc
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Tue, 20 Jan 1998 10:09:06 -0500
Chuck Darney <cdarney@xxxxxxxxxxxxxxxx> writes:

> What DSSSL statement accesses the "type=" statements in the SGML
> Document instance?  For example, the is a "LIST: type=7" in the SGM to
> signify bullets or some other item identifier.  This type would be used
> to format the lits properly.

In the construction rule for the list element, you can use

 (attribute-string "type")

to get the content of the type attribute on the list element.
On items, you can use (inherited-attribute-string "type") to get
at the (possibly inherited) type attribute.

--norm



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Accessing "types" from SGML Doc
    • Chuck Darney - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id IAA05779Tue, 20 Jan 1998 08:19:41 -0500 (EST)
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA06442Tue, 20 Jan 1998 10:13:00 -0500 (EST) <=