[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Recommended way to extend Schematron?
Hi Roger, Here there are a couple of additional possibilities: Skeleton and also our oXygen's Skeleton-based Schematron implementation have a parameter that allows foreign elements - that can be used to pass over XSLT code from your Schematron file to the generated stylesheet, for example if you define an xsl:function then that will go in the generated XSLT code and you should be able to call that from your XPath expressions. Another option will be to handle a new queryBinding in the Schematron implementation that you use, for example the value for that can be xslt3 to indicate that you want to use that and then you can access functions that are defined in XSLT 3. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/7/13 9:02 PM, Costello, Roger L. wrote: > Hi Folks, > > Suppose my Schematron assertions need to do some math calculations – > cosine, sine, tangent, etc. > > I am using XPath 2.0 in my Schematron assertions. But XPath 2.0 doesn’t > support functions for cosine, sine, tangent, etc. > > What is the recommended way to extend Schematron? > > /Roger >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|