This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] use case extensions


Thanks Bob. That's probably what I will end up doing.

I was trying to figure out if it might be better to apply an id attribute to each step in the use case that I want to refer back to. Then, set an attribute in each extension procedure to indicate that it is an extension. I guess the role attribute would be best for this (<procedure role="extension">). But then, I'm not sure which property to use for the reference to the main procedure step.

Of course, if I do something like this, I'll have to create and maintain stylesheet extensions.

- Mark



There is no numbering option in the stylesheets that will handle such a complex numbering scheme.

I would do the extensions list as a variablelist,
and manually enter the numbers as the <term> element.
You could wrap a <link> element around the term content
to form a link back to the scenario step.

<variablelist>
  <varlistentry>
    <term><link linkend="step2">2a</link></term>
    <listitem><para>Exception occurs in step 2</para></listitem>
  </varlistentry>
  ...

Unfortunately, this solution requires manual maintenance
of the numbers in the extensions lists.


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]