[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
The key to good performing Schematron
- From: "Costello, Roger L." <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Tue, 8 Jul 2014 10:53:40 +0000
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]