[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Rick Jelliffe's article on XSLT 1.0 performance

  • From: Tony Graham <tgraham@antenna.co.jp>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 15 Feb 2017 10:20:52 +0000

Re:  Rick Jelliffe's article on XSLT 1.0 performance
On 15/02/2017 09:57, Rick Jelliffe wrote:
For Schematron I am still not sure whether it would be better to have

<sch:rule context="person">
   <sch:let name="payrate"  value="//rate[$for = current()/@class]"


<sch:rule context="person">
   <sch:let name="payrate"  value="//rate[$for = current()/@class]"  />

  <sch:assert tes"number(payrate)" >The payrate should be a
Presumably the second form is 'better' Schematron because it has a
human-readable message. The separate test also means that you can do
things like have separate messages if a value that should be an integer
is a number but not an integer or is not a number at all.


Tony Graham.
Senior Architect
XML Division
Antenna House, Inc.
Skerries, Ireland

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.