[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Recommended way to extend Schematron?
Hi Roger, I recently had to do something similar. I used the ExtensionFunction interface in saxon to define extensions based on java libraries, and was able to call them from XML schema 1.1 assert elements. I was wondering about using "pure xpath" but I could not figure out a way to do the processing I needed to do on input coordinate lists. So saxon extension functions helped me there. Cheers, Peter Rushforth ________________________________ From: Costello, Roger L. [costello@mitre.org] Sent: May 7, 2013 2:02 PM To: xml-dev@lists.xml.org Subject: Recommended way to extend Schematron? 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
|