The profiling stylesheets let you designate any attribute name as a profiling attribute by setting a couple of parameters. This is most useful when you want to profile on an attribute that is not normally used for such. See the next section if you want to create entirely new attributes for profiling.
As an example of using an existing attribute for profiling, you may be preparing a new draft of a document at the same time you are producing the current released version. You could mark those elements that are scheduled to be deleted with the attribute
revisionflag="deleted", and then use the
revisionflag attribute as the profiling attribute.
When you want to produce a version that omits the elements marked for deletion, then set the
profile.value parameter to the value
revisionflag in an enumerated attribute, these are all the allowed values except
deleted. The profile process will include all content marked with
revisionflag set to anything but
deleted, as well as any content without a
|DocBook XSL: The Complete Guide - 4th Edition||PDF version available|
Copyright © 2002-2007 Sagehill Enterprises