Search found 3 matches

by madhukar
Tue Apr 13, 2021 2:38 pm
Forum: General XML Questions
Topic: Schematron xpath fail only once
Replies: 3
Views: 349

Re: Schematron xpath fail only once

Hello, Below is the example posted <xml> <topic id="1"> <test>10</test> </topic> <topic id="2"> <test>10</test> </topic> <topic id="3"> <test>10</test> </topic> </xml> <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://purl.oclc.org/dsdl/schematron"> <pattern> <rule context="//topic/test">...
by madhukar
Mon Apr 12, 2021 1:42 pm
Forum: General XML Questions
Topic: Schematron xpath fail only once
Replies: 3
Views: 349

Schematron xpath fail only once

Hello,

How to stop schematron to break the loop if the context fails the first time.

How to avoid looping the context across the xml so restrict displaying same error message multiple times(as we know if one fails rest will follow).

Thanks
by madhukar
Fri Jul 24, 2020 3:54 pm
Forum: XSLT and FOP
Topic: Version Validation
Replies: 1
Views: 645

Version Validation

Hi Team, I have a requirement to validate an XML using Xpath Schematron based on the Version. Posting a sample below. <root> <Node1 version="1"> <Element1>Value1</Element1> <Type>123456</Type> </Node1> <Node1 version="2"> <Element1>Value1</Element1> <Type>123456</Type> </Node1> <Node1 version="3"> <...