Thanks for the tip David.  I have created a CSS to colour code my XML now so
that the profiled content appears differently depending on what the relevant
profiled attributes' values are.  Just for the record I added a new
stylesheet to the XMLMind Docbook stylesheets which used attribute selectors
to colour the profiled sections of the document differently depending on
what subset of the documentation they appeared in.

For the moment I am actually finding it more useful to make all my content
visible and then change the background-color style depending on the profile
of the section.  Though it would also be useful to be able to show and hide
sections with different profiles at will like David has suggested here.

Finally, I would like to report what I think is a bug within the CSS support
of XMLMind.  It appears that with the attribute selectors you cannot use the
"*" or "^" selectors (there may be others that don't work but these are the
only ones I tried).  For example, the following CSS listing caused XMLMind
to throw an error: *[vendor*="value"]{background-color:blue}.

Regards,
Damien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2512 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040310/64dfc9ce/attachment.bin
 

Reply via email to