OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Userinput content model, v 5.0


A question concerning the reduced content models in docbook v 5.0:

KDE in their author guide (docbook 4.x) suggest markups like 

<userinput><command>ls</command>
<option>-l</option>
<parameter>$<envar>KDEDIR<envar></parameter>
</userinput>

and

<userinput>
<command>export</command>
<parameter>$<envar>KDEDIR</envar>=<filename>
/usr/local/kde</filename></parameter></userinput>

(http://i18n.kde.org/docs/markup/markup-guide.html)

Which is not valid in 5.0, since userinput cannot have a parameter
child, and also, parameter cannot have a filename child.
(Although xsltproc indeed produces the desired html output from the
1.69.1 stylesheets). 

Separating the 'command' part from the 'parameter' part in a userinput
allows for separate formatting in the css (which is what KDE does). 

Any suggestions on how to do this in v 5.0? Or should the content models
be expanded? 

Thanks,

Jonas Haulin


 


HARDOX, WELDOX, ARMOX and TOOLOX are registered trademarks of SSAB Oxelosund AB, Sweden.
This communication is confidential and intended solely for the addressee(s). If you believe this message has been sent to you in error, please notify the sender and delete the message without disclosing it. Thank you.
E-mail including attachments may be susceptible to data corruption, interruption, tampering and other unauthorized interference as well as viruses, and we only send and receive e-mail on the basis that we are not liable for any consequences thereof.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]