[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Costello, Roger L." <costello@m...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member