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:[EMAIL PROTECTED]]
> Sent: Monday, July 01, 2002 3:16 PM
> To: Grobe, Gary
> Cc: '[EMAIL PROTECTED]'
> 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
> 

Reply via email to