Class: BuildSchema

BuildSchema(datatype, additional, subtypes)

Builds a RelaxRNG schema based on currently valid elements. To prevent validation errors, disabled resources are included in the schema.

Constructor

new BuildSchema(datatype, additional, subtypes)

Parameters:
Name Type Description
datatype The datatype of the element
additional Array of additional data elements. Time, xp, etc.
subtypes If true, resource subtypes will be included as well.
Source:
Returns:
RelaxNG schema string