Brilliant! Many thanks,

P.

-pm

http://oceanclub.blogspot.com

"He who lives by the sword, dies by the sword. Indeed - likewise
he who lives by the pen, he who lives by the word processor, he
who who lives by the fax machine all shall die by the sword.
Only he who lives by the tank shall remain immune."

----- Original Message ----- 
From: "Hussein Shafie" <
To: "Paul Moloney" <paul_moloney at hotmail.com>
Cc: <xmleditor-support at xmlmind.com>
Sent: Thursday, November 10, 2005 9:40 AM
Subject: Re: [XXE] Entity Declarations/Conditional Text Questions


> Paul Moloney wrote:
>> 1. When I use entity declaration to include other files in a 
>> DocBook
>> file, the resulting
>> text is shown with a grey background. However, does anyone know how 
>> I
>> can easily see
>> the filename/path of the included doc?
>
> 2 ways to do that:
>
> * Move you mouse above the "Edit Referenced Document" icon which is
> found at the left of the node path bar and wait for the tooltip to 
> appear.
>
> * OR/AND choose CSS style sheet called "Visible Inclusions and
> Locations" from the View menu.
>
>
>
>> 2. I intend to use profiling (conditional text) a lot in DocBook. 
>> This
>> usually consists of setting
>> an attribute for a particular element (say, <para 
>> vendor="customer1">).
>> Is it somehow possibly to show
>> elements with a particular attribute in a different color? This 
>> would
>> make it easy for a writer/editor to tell
>> conditional text from normal text.
>
> Customize the DocBook CSS style sheet to highlight such elements. 
> See
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/custom_css.html.
>
> Example of custom CSS rule:
>
> ---
> *[vendor] {
>    background-color: rgb(224,192,192);
> }
> ---
> 

Reply via email to