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] | [Elist Home]


Subject: RE: DOCBOOK: escaping <'s


I think the semantics would be better if you use replaceable
<http://docbook.org/tdg/en/html/replaceable.html>:

<listitem><filename>/etc/<replaceable>service_id</replaceable></listitem
>

You could then override the template that matches replaceable in
inline.xsl so that replaceable things are surrounded by angle brackets
if that's your preferred style (see the template for citation as an
example of how to do this--tho you still have to use &lt; and &gt; in
the xsl). If service and id in your example are really separate
replaceable items, you would have to mark it up like this:

<listitem><filename>/etc/<replaceable>service</replaceable>_<replaceable
>id</replaceable></listitem>

David

> -----Original Message-----
> From: Josef Karthauser [mailto:joe@tao.org.uk]
> Sent: Monday, July 01, 2002 3:16 PM
> To: Grobe, Gary
> Cc: 'docbook@lists.oasis-open.org'
> Subject: Re: DOCBOOK: escaping <'s
> 
> 
> On Mon, Jul 01, 2002 at 03:10:27PM -0500, Grobe, Gary wrote:
> > How are brackets escaped so that one can add lines like ...
> > 
> > <listitem>ROOT/etc/<service>_<id></listitem>
> > 
> > Thanxs!
> 
> I don't know - but you could try &lt; and &gt; for '<' and '>'
> respectively.
> 
> Joe
> 


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


Powered by eList eXpress LLC