Moduleurn:org:ten60:netkernel:ext:xquery
The
validateSchematron2
accessor is exported by the urn:org:ten60:netkernel:ext:xquery module.
Import this module to gain access to the accessor.
SyntaxURI | active:validateSchematron2 |
Argument | Rules | Description | operand | Mandatory | the resource to be tested | operator | Mandatory | a schematron 1.5 schema with Xpath 2.0 assertions |
Example UsageDPML<instr> <type>validateSchematron2</type> <operand>foo.xml</operand> <operator>schema.xml</operator> <target>this:response</target> </instr> NetKernel Foundation API
req=context.createSubRequest("active:validateSchematron2");
req.addArgument("operand", [resource representation, aspect, or URI] );
req.addArgument("operator", [resource representation, aspect, or URI] );
result=context.issueSubRequest(req); Purpose |