Found it:

The -profile stylesheets work fine.

Regards,

Carlo Magnaghi


-------- Forwarded Message --------
Subject:        Re: Using Profiles
Date:   Thu, 30 Apr 2015 17:00:44 +0200
From:   Carlo Magnaghi <softw...@tecnosoft.eu>
To:     'xmleditor-support@xmlmind.com' <xmleditor-support@xmlmind.com>



Dear Hussein,

using VENDOR attribute works on screen (I can see excluded parts with
red background and included parts with green background).

I still have a problem that the generated PDF still includes everything;
I am using DocBook v5+.
It seems to ignore the settings in DocBook->Conditional
Processing->Select profile.

Is there something else that should be done?

Thank you,

Carlo Magnaghi

On 4/29/2015 4:27 PM, Hussein Shafie wrote:
Carlo Magnaghi wrote:
I have a problem using profiles with the attached files:

I select the <book> item and the the menu item DocBook->Conditional
Processing->Select Profile.
This seems seems to work correctly: Set Profiling Attributes actually
displays the available attributes in a dialog.

Then I select a chapter and try to use Set Profiling Attributes.
This seems not to work: the background of the chapter does not change
and no attribute is added to the <chapter> item.

Should I do anything differently?

In your "vendors.profile" file, you have declared the following
attributes:

WINTNT, EPY, UPDATE

The above attributes are not allowed by the DocBook 5 schema. Hence
XMLmind XML Editor refuses to add them to any element as this would
make this element invalid.

In DocBook 5, the only profiling attributes are:

arch audience condition conformance os revision revisionflag security
userlevel vendor wordsize

These standard profiling attributes are precisely those which are
listed by the comboboxes found in the styled view of a ".profiles" file.



Reference:

http://www.docbook.org/tdg5/en/html/ref-elements.html#common.attributes

Please search for "Common Effectivity Attributes", you'll find a
description of each standard profiling attribute.





--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to