[oXygen-user] Adding attributes to images inserted from DITA Reusable Components view

2023-02-14 Thread Frank Dissinger
...because I do not know how to do it.  Am 13.02.2023 um 22:32 schrieb Stefan Jung: Hi Frank, If you always want to add the same attributes to all images and Schematron is not good enough, why don't you create a new

[oXygen-user] Adding attributes to images inserted from DITA Reusable Components view

2023-02-14 Thread Frank Dissinger
Hi Radu, Thank you for your reply. Sorry, what I meant was the "cc_config.xml" configuration file, not Schematron, of course. Sorry for the confusion. What I currently do is:             I would also like to have this attribute applied when inserting images using the "DITA

Re: [oXygen-user] Adding attributes to images inserted from DITA Reusable Components view

2023-02-13 Thread Oxygen XML Editor Support (Radu Coravu)
Hi Frank, With Schematron you can report a validation error for example when an image does not have a certain attribute. You can also add a quick fix action to quickly add a certain attribute to an image if missing. But Schematron does not automatically make changes to the content inserted

[oXygen-user] Adding attributes to images inserted from DITA Reusable Components view

2023-02-13 Thread Frank Dissinger
Hi list, I have defined Schematron rules which automatically add attributes to elements when inserted. However, these rules are not applied when inserting images using the DITA Reusable Components view. Can this be done? Regards, Frank -- *Frank Dissinger* Documentation Manager