
Hi Luis, You can just get the Schematron skeleton implementation that is an XSLT stylesheet and use Java to apply that on your Schematron file. The result will be a stylesheet that represents your Schematron schema and you need to apply that stylesheet on the XML instance document. There should be a lot of examples for writing Java code to make an XSLT transformation, try to google for "java xslt transformation" or something like that. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Luis Costa wrote:
Hi all,
Does anyone know how can schematron (.sch file) be used to validate a XML in java code.
Thank you for your attention and best regards,
Luís Costa
Software Developer
luis.costa@alert.pt <mailto:luis.costa@alert.pt>
www.alert-online.pt <http://www.alert-online.pt/>
ALERT Life Sciences Computing, S.A.
Edifício Lake Towers – pisos 7, 8 e 9
Rua Daciano Baptista Marques, n.º 245
4400-617 Vila Nova de Gaia
Portugal
Tel.: +351 22 832 89 80
Fax.: +351 22 832 89 82
info@alert.pt <mailto:info@alert.pt>
This e-mail is privileged, confidential and contains private information. Any reading, retention, distribution or copying of this communication by any person other than its intended recipient is prohibited.
------------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user