Re: Node list notation for examples

Subject: Re: Node list notation for examples
From: Chris Maden <crism@xxxxxxx>
Date: Wed, 5 Nov 1997 11:45:41 -0500
[Tony Graham]
> Does anybody have a good notation for representing node lists when
> making examples of how to use DSSSL procedures?
> 
> DSSSL (along with Scheme) has formats for representing numbers,
> characters, strings, and lists which makes it easy to write examples
> of how to use procedures.  For example, "Example 48" in section
> 8.5.7.10 of the DSSSL standard contains:

I was just thinking about this while walking home yesterday.  This
would be nice not only for examples, but as a canonical representation
for debug messages.  Using Jade, "unknown object #<...>" isn't
particularly helpful; a canonical node list representation would aid
greatly.

I think a shorthand for some of the crucial information could be
developed.  The node type, and the system data (for PIs and SDATA
entities) or GI (for elements) would be a start: "((element: PARA)
(pi: "troff .ti 75") (element: PARA))" is somewhat verbose, but more
informative.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

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


Current Thread