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: Re: [docbook] Markup for Protocol/Dialogue

On Fri, May 23, 2003 at 11:13:04AM +0200,
 Gisbert Amm <gia@webde-ag.de> wrote 
 a message of 39 lines which said:

> > Server: HERE
> > Client: HELO I am here
> <screen>
>   <systemitem class="systemname">Server</systemitem>:
> <computeroutput><command>HERE</command></computeroutput>
>   <systemitem class="systemname">Client</systemitem>:
> <computeroutput><command>HELO</command><replaceable> I am
> here</replaceable></computeroutput>

It is very heavy and the formal protocol is quite lost among these
many elements. I would suggest a custom markup allowing things like:


If you're not used to DocBook customization, here is an example in the

<!ELEMENT server (#PCDATA)>
<!ELEMENT client (#PCDATA)>
<!ENTITY % local.para.char.mix

And a possible (untested) stylesheet customization, here for HTML:

<xsl:template match="server">
<CODE><xsl:text>Server: </xsl:text><xsl:value-of select="text()"</CODE>
<!-- Same thing for the client -->

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