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

Re: Recommended way to extend Schematron?

  • From: George Cristian Bina <george@oxygenxml.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Tue, 07 May 2013 22:55:52 +0300

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!

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.
Email
First Name
Last Name
Company
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.