From: Jirka Kosek Date: Tue, 17 Dec 2002 20:46:33 +0000 (+0000) Subject: Added warning against usage of role attribute for profiling. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aba981e7b0c013c09be9af49b3a7be9f32f35f82;p=docbook-dsssl Added warning against usage of role attribute for profiling. --- diff --git a/xsl/params/profile.role.xml b/xsl/params/profile.role.xml index 88645fa57..430b91d9c 100644 --- a/xsl/params/profile.role.xml +++ b/xsl/params/profile.role.xml @@ -29,5 +29,26 @@ stylesheets (profile-docbook.xsl, ones (docbook.xsl, chunk.xsl, …). + +Note that role is often +used for other purposes than profiling. For example it is commonly +used to get emphasize in bold font: + +very important]]> + +If you are using role for +these purposes do not forget to add values like bold to +value of this parameter. If you forgot you will get document with +small pieces missing which are very hard to track. + +For this reason it is not recommended to use role attribute for profiling. You should +rather use profiling specific attributes like userlevel, os, arch, condition, … + +