Skip to main content
Jens Troeger
Inspiring
Jun 6, 2015 11:51 AM UTC
Answered

Looking for ICML schema.

Over at the developer documentation I found the IDML schema files in a ZIP archive. However, I am looking for the schema to validate a single ICML file. Is that one of the IDML schema files, or can I download the ICML schema from someplace else?

Thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.
vinothr
vinothrCorrect answer
Inspiring
May 23, 2016 7:15 AM UTC

ICML, ICMA, and snippets (idms) are variants (or extension) of IDML.

The above are standalone XML files rather than a package.

Snippet file: <?aid SnippetType="PageItem"?>

ICML file: <?aid SnippetType="InCopyInterchange"?>

Assignment file: <?aid type="assignment"?>

The schema for ICML, ICMA and IDMS can be found in SDK (docs/references/idml-schema.zip) or here:

idml-schema.zip -> idml-schema/single

Also, in Appendix B of following pdf contains some details on ICML schema:

https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf

4 replies

vinothr
vinothrCorrect answer
Inspiring
May 23, 2016 7:15 AM UTC

ICML, ICMA, and snippets (idms) are variants (or extension) of IDML.

The above are standalone XML files rather than a package.

Snippet file: <?aid SnippetType="PageItem"?>

ICML file: <?aid SnippetType="InCopyInterchange"?>

Assignment file: <?aid type="assignment"?>

The schema for ICML, ICMA and IDMS can be found in SDK (docs/references/idml-schema.zip) or here:

idml-schema.zip -> idml-schema/single

Also, in Appendix B of following pdf contains some details on ICML schema:

https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf

Translate
Jens Troeger
Inspiring
May 23, 2016 1:38 PM UTC

Thank you for this, it's very helpful!

I was looking for XSD files, but using tools like trang I might be able to convert the RelaxNG specification idml-schema/single/IDMarkupLanguage.rnc to XSD. Or perhaps expand my software to validate using RelaxNG.

Translate
vinothr
Inspiring
May 23, 2016 2:54 PM UTC

Yes, you can convert rnc to xsd. But if your software is developed natively, you can consider libxml2 library that supports Relax NG validation.

Translate