[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Profiling question
On Fri, Jul 18, 2003 at 11:15:26AM -0700, Hart, Rowena wrote: > Hello, > > My colleague and I have been discussing how to > design and implement profiling (conditional text) > in our XML documents. > > The people who use our product can have multiple > roles and job duties. These roles and job duties > determine which screens and functions are available > in the product. There is no one-to-one correllation > between roles/duties and screens/functions; in other > words, people from several different roles/duties > may use the same screen/functions, but in different > workflows. > > We will know which roles/duties can use specific > screens/functions, but we will not know which roles/ > duties people will have. For this reason, we were > thinking that the best solution would be to associate > numerous roles/duties to a single chunk of XML-formatted > text and pass each person's roles/duties as parameters > during transformation. > > Is it possible to assign numerous values to an > attribute, e.g. condition="roleA,roleB,duty1,duty2"? > If not, has anyone else found another way to set up > profiling for numerous roles/duties? Yes, it is possible. You can use multiple profiling attributes, and you can set multiple values in each attribute. You have to be careful not to let the logic get out of hand, though. 8^) See this URL for syntax: http://www.sagehill.net/docbookxsl/MultiProfile.html -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]