From aebdb6bb22318aa0689013de8936a345f44e34c3 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Tue, 17 Dec 2002 20:46:33 +0000 Subject: [PATCH] Added warning against usage of role attribute for profiling. --- xsl/params/profile.role.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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, … + + -- 2.50.1