https://github.com/transpect/idmlvalidation
An IDML Validator
https://github.com/transpect/idmlvalidation
Last synced: 3 months ago
JSON representation
An IDML Validator
- Host: GitHub
- URL: https://github.com/transpect/idmlvalidation
- Owner: transpect
- License: bsd-2-clause
- Created: 2015-11-27T12:14:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T11:53:17.000Z (over 2 years ago)
- Last Synced: 2025-06-12T00:51:43.759Z (about 1 year ago)
- Language: XProc
- Homepage:
- Size: 434 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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}`