Yes, you can do this. See the third bullet
item in this reference:
----- Original Message -----
Sent: Tuesday, February 01, 2011 3:43
PM
Subject: [docbook] More than one value
for an attribute.
Hello,
Is there a way to define an attribute so that the
writer can select more than one choice for its value (i.e., can an attribute
be set to a delimited list of values)?
For example: vendor= "Windows XP, Windows 2008, Linux, Unix, Mac,
iOS".
It seems that when
attributes are discussed, that there is an assumption that the writer only
wants to pick one value for the attribute. For example, when setting
the vendor attribute, the writer only needs
to choose between Windows or Linux. However, we need to be able to specify
more than value for the vendor attribute. For example some of our content applies to Windows only, some of the
content applies to Windows and Linux, some of the content applies to iOs and
Mac Os, some of the content applies to
Windows, Linux, and Mac Os, etc., As we support more operating systems, the
number of vendor combinations increases. We need to be able to append the new
OS to the vendor attribute. We don't
want to have a set of different combinations to choose from as this would be
cumbersome to work with.
Any
thoughts or suggestions would be greatly appreciated.
Thank you, Kate
..........................................................................................................................................................................................................................
Kate Wringe | Senior Information Developer
| SQL Anywhere Doc Team | Sybase | 445 Wes Graham Way, Waterloo, ON, N2L
6R2 Canada | Tel: (519) 883-6838 | kate.wringe@sybase.com |
www.sybase.com
|