schema-design / color-setting

This should cover W3C XML Schema, Relax NG and DTD related problems.
martin42
Posts: 2
Joined: Thu Feb 15, 2018 5:19 pm

schema-design / color-setting

Post by martin42 » Thu Feb 15, 2018 5:23 pm

Hi, is there a way to define the colors of the schema-design? If yes, is this css also used in the documentation (html)?

Thank you in advance!

Best wishes
martin42

Radu
Posts: 6582
Joined: Fri Jul 09, 2004 5:18 pm

Re: schema-design / color-setting

Post by Radu » Tue Feb 20, 2018 9:57 am

Hi Martin,

Sorry but these colors cannot be controlled via settings. Also when generating HTML from XML Schema, the various schema components are presented as images in the HTML documents so their colors cannot be styled using CSS.
One possibility when obtaining HTML docs from XML Schema would be to save the XML Schema images as SVGs (in the HTML doc generator tool there is a "Settings" tab). As SVGs are vectorial XML documents, you might be able to modify them using a script and change the colors but it's probably not easy.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

martin42
Posts: 2
Joined: Thu Feb 15, 2018 5:19 pm

Re: schema-design / color-setting

Post by martin42 » Tue Feb 20, 2018 3:34 pm

Thank you very much, Radu!!

Post Reply