[oXygen-user] Schamatron validation using java

George Cristian Bina
Mon Jan 5 05:32:01 CST 2009


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
> 
>  
> 
>  <mailto:>
> 
>  
> 
> 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
> 
>  <mailto:>
> 
>  
> 
> 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
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list