Subject: CVS commit: htdocs/share/xsl
To: None <www-changes@NetBSD.org>
From: Klaus Heinz <heinz@netbsd.org>
List: www-changes
Date: 07/16/2005 16:23:36
Module Name:	htdocs
Committed By:	heinz
Date:		Sat Jul 16 16:23:36 UTC 2005

Added Files:
	htdocs/share/xsl: autolayout.xsl

Log Message:
Initial version of our private stylesheet autolayout.xsl, written by
Hiroki Sato and only marginally updated by me.

This file will be used during the generation of autolayout.xml and
allows our current tool set (xsltproc from the libxslt package) to be
more efficient with regard to RAM usage than with the original
autolayout.xsl provided by the docbook-website package.

This is _NOT_ a complete replacement for the file autolayout.xsl
in the docbook-website package. The original file knows about id
attributes of <webpage> tags, <head><title>, <head><titleabbrev>, and
<head><summary> tag sequences while this private version just supports
the id attribute in <webpage> and the <head><title> sequence.

Furthermore, this stylesheet relies on the fact that id attributes of
<webpage> tags follow the following syntax rule:

  The value of the id attribute is the pathname of the XML file, relative
  to WEB_PREFIX, without the .xml suffix and with all "/" characters
  substituted with "-".

If the path name of the XML file is

    $WEB_PREFIX/some/path/and/filename.xml

then the id attribute MUST be id="some-path-and-filename".


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 htdocs/share/xsl/autolayout.xsl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.