An open API service indexing awesome lists of open source software.

https://github.com/transpect/idmlvalidation

An IDML Validator
https://github.com/transpect/idmlvalidation

Last synced: 3 months ago
JSON representation

An IDML Validator

Awesome Lists containing this project

README

          

# An InDesign Markup Language Validator

XProc-Step for IDML validation. See schema directory for supported versions.

## Create an RelaxNG schema from InDesign

1. Create an InDesign Script containing the code below. Executing the script
will create RNC schema files in the directory `/idml-schema/package` or `C:/idml-schema/package`
depending on your operating system.

```js
app.generateIDMLSchema(Folder("/idml-schema/package"), true);
```

2. Copy the files to this repository in `schema/rnc/{$version}`,
whereas `{$version}` is the version number of InDesign.

3. Run `rnc2rng.sh {$version}` from the `rnc` directory to create
the RNG schema files in the directory `rng/{$version}`