From 64d43ef5b74c308f6903c64e71c7fb471634a968 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 18 Aug 2007 10:19:00 +0000 Subject: [PATCH] Changed handling of HTML output for the cmdsynopsis and funcsynopsis elements, such that a@id instances are generated for them if they are descendants of any element containing a dbcmdlist or dbfunclist PI. Also, update the embedded reference docs for the dbcmdlist and dbfunclist PIs to make it clear that they can be used within any element for which cmdsynopsis or funcsynopsis are valid children. --- xsl/html/pi.xsl | 16 ++++++++-------- xsl/html/synop.xsl | 25 ++++++++++++++++++++++--- 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/xsl/html/pi.xsl b/xsl/html/pi.xsl index 6a75f7c05..69570f1a0 100644 --- a/xsl/html/pi.xsl +++ b/xsl/html/pi.xsl @@ -897,12 +897,12 @@ Generates a hyperlinked list of commands - Use the dbcmdlist PI as the child of a - refsynopsisdiv containing multiple + Use the dbcmdlist PI as the child of any + element (for example, refsynopsisdiv) containing multiple cmdsynopsis instances; a hyperlinked navigational - “command list” will be generated at the top of the - refsynopsisdiv, enabling users to quickly jump - to to each command synopsis. + “command list” will be generated at the top of output for that + element, enabling users to quickly jump + to each command synopsis. dbcmdlist @@ -927,11 +927,11 @@ Generates a hyperlinked list of functions - Use the dbfunclist PI as the child of a - refsynopsisdiv containing multiple + Use the dbfunclist PI as the child of any + element (for example, refsynopsisdiv) containing multiple funcsynopsis instances; a hyperlinked navigational “function list” will be generated at the top of - the refsynopsisdiv, enabling users to quickly + output for that element, enabling users to quickly jump to to each function synopsis. diff --git a/xsl/html/synop.xsl b/xsl/html/synop.xsl index 3ce59965c..cd6bfc734 100644 --- a/xsl/html/synop.xsl +++ b/xsl/html/synop.xsl @@ -25,9 +25,17 @@

- - - + + + + + + + + + + +

@@ -157,6 +165,17 @@ + + + + + + + + + + + -- 2.40.0