
Hello Amanda, Patrik is right, in order to overwrite oXygen built-in stylesheets for Schematron, you need to create an "endorsed/builtin" folder in the "[Oxygen install dir]/lib" folder. To change the "process-message" template you need to copy the "iso_schematron_skeleton.xsl" and "iso-schematron-message.xsl" stylesheets from "Oxygen/frameworks/schematron/impl" folder in the "Oxygen/lib/endorsed/builtin" folder and restart oXygen. After this you can modify the "process-message" template from the copied "iso-schematron-message.xsl" file. If the SQF support is enabled (see the "Enable Schematron Quick Fixes (SQF) support" options from the "XML / XML Parser / Schematron" option page), you will need to add in the "Oxygen/lib/endorsed/builtin" folder also the "iso-schematron-quick-fixes.xsl" stylesheet. But this stylesheet is not public. You have two solutions for this. Even you deactivate the SQF support if you don't use it or I can send you the "iso-schematron-quick-fixes.xsl" stylesheet. Best Regards, Octavian -- Octavian Nadolu <oXygen/> XML Editor http://www.oxygenxml.com On 17.12.2015 09:51, Dr. Patrik Stellmann wrote:
Hi Amanda,
you can overwrite built-in stylescheets for schematron by creating a folder Oxygen/lib/endorsed/builtin and place the files there. You probably have to start with oXygenSchematronDispatcher.xsl which includes additional files (this depends on the version you are using). You can find a discussion about this in the forum:
https://www.oxygenxml.com/forum/post33302.html#p33302
Regards,
Patrik
------------------------------------------------------------------ Systemarchitektur & IT-Projekte Tel: +49 40 33449-1142 Fax: +49 40 33449-1400 E-Mail: Patrik.Stellmann@gdv-dl.de <mailto:Patrik.Stellmann@gdv-dl.de>
*Von:* oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] *Im Auftrag von *Amanda Galtman *Gesendet:* Mittwoch, 16. Dezember 2015 19:55 *An:* oxygen-user@oxygenxml.com *Betreff:* [oXygen-user] Overriding Schematron process-assert template during XML validation
Hi,
Is there a way to make Oxygen’s RelaxNG/Schematron validation of XML files pick up my customizations of templates like process-assert or process-message?
I know how to make this work outside of Oxygen, but I’m having trouble finding the right hooks in Oxygen (and tinkering with oxygen.jar seems like a really bad idea). Do I extend the Schematron framework, or is that used only for editing Schematron source files?
Thanks,
Amanda
*GDV Dienstleistungs-GmbH & Co. KG* Glockengießerwall 1 D-20095 Hamburg www.gdv-dl.de
Sitz und Registergericht: Hamburg HRA 93 894 USt.-IdNr : DE 205183123
Komplementärin: GDV Beteiligungsgesellschaft mbH Sitz und Registergericht: Hamburg HRB 71 153
Geschäftsführer: Dr. Jens Bartenwerfer Michael Bathke Volker Sonnenburg
------------------------------------------------------------------ Diese E-Mail und alle Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der E-Mail ist nicht gestattet.
This e-mail and any attached files may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user