Subject: CVS commit: htdocs
To: None <www-changes@NetBSD.org>
From: Hiroki Sato <hrs@netbsd.org>
List: www-changes
Date: 04/03/2005 12:55:10
Module Name: htdocs
Committed By: hrs
Date: Sun Apr 3 12:55:10 UTC 2005
Modified Files:
htdocs/guide/en: netbsd.xml
htdocs/share/mk: doc.docbook.dsssl.mk doc.docbook.xsl.mk
Log Message:
Enable XInclude feature for including a file as-is. For including
a plain text file (foo.c), the following code fragment can be used:
<![ %sgml.includes; [
<programlisting><inlinemediaobject><imageobject><imagedata fileref="foo.c"
format="linespecific"></imagedata></imageobject></inlinemediaobject></programlisting>
]]>
<![ %xml.includes; [
<programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="foo.c" parse="text" /></programlisting>
]]>
In above example <programlisting> is used, but other elements can be
used, too. Special characters such as &<>" in the file are converted to
&foo; form automatically.
To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 htdocs/guide/en/netbsd.xml
cvs rdiff -r1.7 -r1.8 htdocs/share/mk/doc.docbook.dsssl.mk
cvs rdiff -r1.11 -r1.12 htdocs/share/mk/doc.docbook.xsl.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.