[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook] More than one value for an attribute.
As Bob says, the DocBook xsl’s profiling mechanism supports this, but I take your question to be about the authoring side of the problem. What you really want to know is if there’s a way to help the writer avoid doing something like vendor=”Windows XP, Linix” (where “Linix” is misspelled and so won’t have the desired effect). That seems to me a matter of editor customization. In fact, this is on my list of things to look into wrt the xrefstyle attribute. In that case, I would like to offer the writer a list of typical choices but still leave them free to enter arbitrary text so I don’ t have to enumerate every possibility in the schema. I haven’t figured out what to do yet, so please let me know if you come up with a situation. You might also ask your editor’s support folks to see if they have suggestions.
Yes, you can do this. See the third bullet item in this reference: