My co-worker and I downloaded the zip file today and installed it onto our windows environment. We were able to get it running for the dtdanalyzer.bat file. However, we noticed that there wasn’t a dtdcompare.bat file. Will that be coming in a newer release? Or do we need to create our own?
Hey, Breena, I see that you were successful. Your email arrived just when I was getting ready to send the message below. I’ll still send it along, in case it might be useful.
-----------------
Yes, this is pretty tedious, and we’ll clean it up as soon as we get a few spare cycles.
Breena, you could also run this straight from the dtdanalyzer, with two commands. The first pass processes DTDv2, and the second pass does two things: processes DTDv1, and then runs the comparison stylesheet.
Note that specifying the file locations is tricky. The most sure-fire way is to specify the absolute paths, for now. In the example below, substitute the path where you’ve put the dtdanalyzer (in the value for “-x”) and the path where your currently working (in the value for “-P dtd2-loc”).
For Windows, this works:
dtdanalyzer -s DTDv2.dtd DTDv2.daz.xml
dtdanalyzer -s DTDv1.dtd ^
-x M:\git\NCBITools\DtdAnalyzer\xslt\compare-dtds.xsl ^
-P dtd2-loc=file:///M:/temp/daztest/DTDv2.daz.xml ^
-P dtd1-name="DTD version 1" ^
-P dtd2-name="DTD Version 2" > comparison-report.html
For Unix, the same thing would be:
dtdanalyzer -s DTDv2.dtd DTDv2.daz.xml
dtdanalyzer -s DTDv1.dtd \
-x /home/maloneyc/git/NCBITools/DtdAnalyzer/xslt/compare-dtds.xsl \
-P dtd2-loc=file:///home/maloneyc/temp/daztest/DTDv2.daz.xml \
-P dtd1-name="DTD version 1" \
-P dtd2-name="DTD Version 2" > comparison-report.html
Let us know if it doesn’t work for you.
Chris Maloney
NIH/NLM/NCBI (Contractor)
Building 45, 5AN.24D-22
To view this discussion on the web visit https://groups.google.com/d/msg/dtdanalyzer/-/jkOdgZczikwJ.
To post to this group, send email to dtdan...@googlegroups.com.
To unsubscribe from this group, send email to dtdanalyzer...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dtdanalyzer?hl=en.