[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Markup suggestions please?
On 6.12.2011 19:36, davep wrote:
> What about markup for an assembly level instruction?
>
> <instr proc='ARM'>vadd</
> Suggest anything to improve on that?
Do you really need such precise markup. There not many books talking
about instructions of several different processor at the same time so
@proc seems excessive. Moreover there is already existing attribute for
this @arch:
arch
Designates the computer or chip architecture to which the element applies.
If you don't want to customize DocBook then semantically closest is
probably function element. Of course, you can customize DocBook and add
respective element, I once did this as an excercise:
http://xmlguru.cz/2006/03/easy-docbook-specialization
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]