Showing results for 
Search instead for 
Did you mean: 

schematron validation

0 Kudos

Hello experts,

I know that we can use built in XML validation on SAP PI 7.11 with xsd files.

Is there also a possibility to validate XML with schematron and XSLT instead of xsd files?

Any helpful pointers or comments are appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Active Participant
0 Kudos

Hi Peter.

You can do a Java Mapping to validade it.

Below the links:

XI schema validation using DOM parser via Java code

Validations using Java for those not having PI7.1


Best Regards.


Answers (1)

Answers (1)

Active Contributor
0 Kudos

You can generate XSLT from a Schematron schema and then using XSLT for validation. This is even possible in ABAP and a explained how to do ot in my Book "XML für ABAP-Programmierer" in SAP Press.

Best Regards

Tobias Trapp