Chapter 7. The Library Module

The library module contains functions that are DTD-independent.

Change Log

1998-12-17  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Fixed (my-debug) so that it returns its argument, not the
	message displayed.  This change was actually made in 1.30,
	although it won't turn up in the change logs until 1.31.

1998-12-04  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Fixed definition of sgml-root-element.  I knew there was a
	better way!
	Added sgml-root-element? to test if a node is the root.

1998-11-25  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Added component-descendant-node-list and
	component-list-descendant-node-list. These find
	descendants in a list from a given ancestor.

1998-11-19  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Added component-list-child-number

	* dblib.dsl:
	Removed version number from %library-version% (maybe I should
	rename that).  There are just too many files with version
	numbers in them.  See VERSION in the distribution for the
	distribution version.  Each file has an RCS ID that can be
	used to track it, if necessary.

1998-11-05  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.23 released.

1998-11-03  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.22 released.

1998-11-02  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.21 created (not for release, just
	to checkpoint another project).

1998-10-30  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.20 released.

	* dblib.dsl: Protect forward slash in URLs (so // doesn't confuse some
	browsers)

1998-10-19  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Again.

	* dblib.dsl: Fix doc bug

	* dblib.dsl: Version 1.19 is released.

	* dblib.dsl: Added (string-index).

	Added (parse-starttag-pi), and some helper
	functions for it.  This function parses the
	xml-declaration style PI:

	  <?pitarget attr="val1" attr2="val2">

1998-09-18  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.18 released (really!).

1998-09-17  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.17 released.

1998-09-16  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.16 released

	* dblib.dsl: Version 1.15 released

	* Oldversion.sgm: Renamed version.sgm; made proper SGML document.

1998-09-10  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.14 released.

	* dblib.dsl: Another documentation fix

	* dblib.dsl: Fixed documentation bug

1998-09-08  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl:
	Added strip: Strip leading and trailing characters off of a string
	Added url-encode-char: Returns the url-encoded equivalent of a character
	Added url-encode-string: Returns str with all special characters %-encoded
	Added system-id-filename: Returns the filename part of the system id of target
	Added trim-string: Trims the tail off of a string

1998-09-03  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl:
	Renamed $include$ to include-file, fixed to use of string-ref

	* dblib.dsl: Added node-list->string and $include$

1998-09-02  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.13 released.

1998-08-31  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl:
	Fixed absolute-child-number; it was off by one--the first child is
	"1" not "0".

1998-08-28  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl: Version 1.12 released

1998-08-28  Norman Walsh  <ndw@nwalsh.com>

	* dblib.dsl 1.12: Version 1.12 released