Method | Description | |
---|---|---|
ReferenceRule ( |
Construct a ReferenceRule instance that will locate context and target elements based on the data provided.
|
|
ReferenceRule ( |
Construct a ReferenceRule instance that will locate context and target elements based on the data provided.
|
Method | Description | |
---|---|---|
Validate ( |
Validates all the elements registered at construction using the NodeIndex to locate them as quickly as possible.
|
|
Validate ( |
Checks the elements in context XmlNodeList to see if they reference elements in the target XmlNodeList.
|
public ReferenceRule ( |
||
precondition | A |
|
name | string | The unique name for the rule. |
contextType | string | The schema type for the context element. |
contextElements | string | An array of potential context element names. |
targetType | string | The schema type for the target element. |
targetElements | string | An array of potential target element names. |
return | System |
public ReferenceRule ( |
||
precondition | A |
|
name | string | The unique name for the rule. |
contextType | string | The schema type for the context element. |
contextElements | string | An array of potential context element names. |
targetType | string | The schema type for the target element. |
targetElements | string | An array of potential target element names. |
referenceAttribute | string | The name of the attribute containing the reference. |
return | System |
protected Validate ( |
||
nodeIndex | The |
|
errorHandler | ValidationErrorHandler | The |
return | bool |
protected Validate ( |
||
contexts | A |
|
targets | A |
|
errorHandler | ValidationErrorHandler | The |
return | bool |