From ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../docbook/xsl/params/generate.id.attributes.xml | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 kdoctools/docbook/xsl/params/generate.id.attributes.xml (limited to 'kdoctools/docbook/xsl/params/generate.id.attributes.xml') diff --git a/kdoctools/docbook/xsl/params/generate.id.attributes.xml b/kdoctools/docbook/xsl/params/generate.id.attributes.xml new file mode 100644 index 000000000..6c638dca7 --- /dev/null +++ b/kdoctools/docbook/xsl/params/generate.id.attributes.xml @@ -0,0 +1,54 @@ + + +generate.id.attributes + + + +generate.id.attributes + + + + + + + + + +Description + +If non-zero, the HTML stylesheet will generate ID attributes on +containers. For example, the markup: + +Some Title +Some para. +]]> + +might produce: + + +

Some Title

+

Some para.

+]]>
+ +The alternative is to generate anchors: + + +

Some Title

+

Some para.

+]]>
+ +Because the name attribute of +the a element and the id +attribute of other tags are both of type ID, producing both +generates invalid documents. + +As of version 1.50, you can use this switch to control which type of +identifier is generated. For backwards-compatibility, generating +a anchors is preferred. + +Note: at present, this switch is incompletely implemented. +Disabling ID attributes will suppress them, but enabling ID attributes +will not suppress the anchors. + +
+
-- cgit v1.2.1