Hi Thomas,<div><br></div><div>If I understand your problem correctly, you should create an ODD customization. Look at /MEI_dev/customizations/mei-all.xml as an example. That file selects all the modules. You can make a copy and comment out the modules that you want to exclude.</div>
<div><br></div><div>At this point you have a few options to generate an RNG and XSD from the source + customization. This is what I usually do on a Unix system:</div><div><br></div><div>1. checkout TEI's trunk from sourceforge if you don't have it already</div>
<div>2. make sure you have all the dependecies (trang, saxon, xmllint)</div><div>3. go to /Roma</div><div>4. run the command:</div><div><br></div><div>./roma2 --xsl=../Stylesheets --localsource=fullPathTo_mei-2011-05-source.xml fullPathToYourCustomization</div>
<div><br></div><div>5. Under RomaResults you'll find the resulting RNG and XSD.</div><div><br></div><div>It goes without saying that once Roma is installed and working on you system, it's just a matter or running the command.</div>
<div><br></div><div>Hope this helps,</div><div>Raffaele<br><br><div class="gmail_quote">On Thu, Dec 1, 2011 at 11:00 PM, TW <span dir="ltr"><<a href="mailto:zupftom@googlemail.com">zupftom@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">How do I convert the big specifications source file<br>
(mei-2011-05-source.xml) to RNG or XSD? I easily get lost in HTML<br>
documentation I generated from the full RNG. I'd like to strip some<br>
modules to simplify things. As the module information is lost in the<br>
RNG, I want to modify the original, then go via RNG and XSD to HTML.<br>
(Is there a more straightforward way?)<br>
<br>
Thanks!<br>
Thomas<br>
<br>
_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
</blockquote></div><br></div>