I'm trying to create a .net library that is able to read and write .idml files (Indesign). Just like Office it's a zip file with a couple of directories containing xml files.
The problem is that the schema is written in Relax NG Compact Syntax and there is no parser available in .net. Here is a sample of what the story schema looks like (a story in Indesign is just a piece of text with markup).
What's the best approach?
I tried converting the rnc to xsd but that didn't work. Manually creating the .net code is going to take a lot of time. Should I create a parser that reads these files and spits out c# code files? I have never created a parser before.
I haven't used Java much in my life but I think there is some java code that is able to work with these files but I don't know how much use it can be for my project ( http://relaxng.org/ ).