Petr Nalevka wrote: > Hello, > > I have a little XML Mind question related to creating addons for my own > grammar. > > I have a custom grammar which is still heavily under development and I > don't want to restrict it with a schema yet. > > On the XML Mind feature page you claim: 'Can be used to edit XML > documents not constrained by a grammar. In such case, XMLmind XML Editor > (XXE) is still very nice to use because it simulates a very loose, > dynamically created/dynamically updated, DTD.' > > This is exactly what I need. > > But I would like to apply a css to my grammar. Basically a very generic > style similar to your 'addons/config/css/xmldata.css' but with some > custom features. > > When I create a *.xxe definition for my grammar the css style is only > applied to my document in case I have a schema associated with it, for > example using <relaxng compactSyntax="false" location="schema.rng"/>, > otherwise, when this line is commented out I get the default (display: > tree) not styled view. > > Is there a way to use css styling but having a dymanicly created schema?
In principle, the answer is yes, because CSS and schema are orthogonal. However a bug added in v4 prevents this feature from working. We'll fix this bug in next release.

