The Library Module

The Modular DocBook Stylesheets
Prev |  |

# Chapter 7. The Library Module

The library module contains functions that are DTD-independent.

# Documentation

Writing better documentation for these stylesheets is a background task. If you have any questions that aren't answered here, please feel free to contact me.

Library Functions

  Reference pages for the library functions in `dblib.dsl`. (FYI: this is programmer's documentation, not user documentation.)

# Change Log

    2000-07-19  Norman Walsh  <ndw@nwalsh.com>

    	* dblib.dsl: Added mappings for ldquor and rdquor

    1999-04-20  Norman Walsh  <ndw@nwalsh.com>

    	* dblib.133: No longer needed; dblib.dsl is now the old format again

    	* dblib.dsl: Doc fixes

    1999-04-13  Norman Walsh  <ndw@nwalsh.com>

    	* dblib.dsl: Fixed docbugs

    	* dblib.dsl: Undo all that literate programming; go back to simple DSSSL code in the style-sheet DTD.

    1999-03-31  Norman Walsh  <ndw@nwalsh.com>

    	* Oldversion.sgm: Changed public identifiers from DocBook V3.0 to V3.1

    1999-02-26  Norman Walsh  <ndw@nwalsh.com>

    	* dblib.133: New file.

    	* dblib.dsl: Merged DSSSL as DocBook into main branch

    	* dblib.old: New file.

    	* dblib.old: removed dblib.old

    	* dblib.old: branches:  1.1.2;
    	file dblib.old was initially added on branch dsssl-as-docbook.

    1999-02-22  Norman Walsh  <ndw@nwalsh.com>

    	* dblib.dsl: Added dingbats for lsquo and rsquo

    1999-02-01  Norman Walsh  <ndw@nwalsh.com>

    	* dblib.dsl: Added dbhtml PI; fixed IDs

    	* dblib.dsl: Fixed dbhtml PI

    1999-01-21  Norman Walsh  <ndw@nwalsh.com>

    	* dblib.dsl: New file.

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

    	* dblib.dsl: branches:  1.38.2;
    	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: 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.

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

    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: 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">

    	* dblib.dsl: Fix doc bug

    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>

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

    	* dblib.dsl: Version 1.15 released

    	* dblib.dsl: Version 1.16 released

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

    	* dblib.dsl: Fixed documentation bug

    	* dblib.dsl: Another documentation fix

    	* dblib.dsl: Version 1.14 released.

    1998-09-09  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

Prev | Home |
The Common Module |  |