Passing a param to Schematron?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
scottbdr
Posts: 50
Joined: Tue Jul 21, 2009 1:48 am

Passing a param to Schematron?

Post by scottbdr »

Is there any way to pass a parameter to Schematron in an Oxygen validation scenario? I know this is probably unconventional however I'm supporting an application that somehow decided to do this in their ph-schematron implementation. The idea is to pass in the name of file associated with the one being validated in order to cross-validate certain values.

Thanks, Scott
tavy
Posts: 365
Joined: Thu Jul 01, 2004 12:29 pm

Re: Passing a param to Schematron?

Post by tavy »

Hello Scott,

You cannot pass parameters in the Schematron validation scenario. You can only choose the phase to be executed. Find more details in the user manual:
https://www.oxygenxml.com/doc/versions/ ... __settings

Maybe you can use base-uri() function or a Schematron extension that can provide you the name of the file.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply