← Prev in month ← Prev in thread
Next in thread → Next in month →

The key to good performing Schematron

From
Costello, Roger L. <>
To
"" <>
Date
2014-07-08T10:53:40Z
ID
<>
Thread
The key to good performing Schematron
Hi Folks,

Recall that in Schematron documents rules are expressed using one or more <assert> elements, each using an XPath expression:

<sch:assert test="XPath expression">
     ... 
</sch:assert>

The way the XPath expressions are designed can make a huge difference in performance. For example, recently I was dealing with an XML document containing over 100,000 records. I needed Schematron to test each record. In my first version, executing the Schematron on the XML document took 3 hours. I then revised the XPath expressions and the time dropped to 6 seconds!

More ... http://xfront.com/The-key-to-good-performing-Schematron.pdf

/Roger
← Prev in month ← Prev in thread
Next in thread → Next in month →