Thank you for the examples, and further description, they helped a lot.

Regards,
Wes Warner
Director Flight Technical
o. 949-892-4332   m. 714-863-5065
Have Fun!    jetsuite.com/values

Offering WiFi-equipped Phenom 100s & CJ3s.
To Fly: 866 779 7770

LEGAL DISCLAIMER
The information transmitted is intended solely for the individual or entity
to whom it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of or
taking action in reliance upon this information by persons or entities
other than the intended recipient is prohibited. If you have received this
email in error please contact the sender and delete the material from any
computer.



On Thu, Mar 30, 2017 at 2:35 PM, Hussein Shafie <huss...@xmlmind.com> wrote:

> On 03/30/2017 07:07 PM, Wes Warner wrote:
>
>>
>> The trouble I have with the CSS customization is that it adds a style
>> for an entire element, not the entry for the element.  Example: If I
>> have a revisionflag set to added for a para, the CSS customizer
>>
>
> My answer assumes that you are talking about:
>
> 13. The "Customize CSS Stylesheet" dialog box
>
> http://www.xmlmind.com/xmleditor/_distrib/doc/help/customize
> StylesheetDialog.html
>
>
>
>
> only wants to apply a style for para.
>>
>
> No, you are free to write any CSS rule you want, even very complex ones.
>
> I mean, you are NOT limited to very simple selectors like "para" in:
>
> para {
>    color: cyan;
> }
>
>
>
>
> There appears to be no way for me to
>> tell it that I want a style for revisionflag.added.
>> I'm not a programmer, and any documentation I've been able to find on
>> this has not
>> been helpful in getting more granular styles applied.
>>
>> If you can provide an example of what the CSS would look like for
>> applying a style (color to cyan for example) to revisionflag.added, that
>> would be most helpful.
>>
>
> It's really basic CSS:
>
> *[revisionflag="added"] {
>     color: cyan;
>     text-decoration: underline;
> }
>
> *[revisionflag="deleted"] {
>     color: gray;
>     text-decoration: line-through;
> }
>
> See https://www.w3.org/TR/CSS2/selector.html#attribute-selectors
>
>
>
>
> This is the primary reason that I've used the
>> profiles portion for applying styles.  It is very easy to do so, and our
>> customized stylesheets match what is displayed.
>>
>>
> You are free to use a ".profiles" file if you prefer. However, my previous
> email was an attempt to explain that:
>
> 1) a ".profiles" file styling "revisionflag.added" on screen will have no
> effect when converting your document to PDF because the DocBook XSL
> stylesheets do not support "flagging" elements, but just excluding them.
>
> 2) a ".profiles" file is NOT adapted to styling elements in the general
> case. For example, giving a distinct screen style to different kinds of
> notes.
>
> Reference: XMLmind XML Editor - Easy Profiling
> http://www.xmlmind.com/xmleditor/_distrib/doc/profiling/index.html
>
>
>
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to