To regenerate the cdwalite.mds file: 1. Download the XSD xml file descriptor for CDWALite http://www.getty.edu/CDWA/CDWALite/CDWALite-xsd-public-v1-1.xsd More information about CDWALite can be found at http://www.getty.edu/research/publications/electronic_publications/cdwa/cdwalite.pdf 2. Source setup or gs3-setup in your GS2/GS3. 3. Then run the script in this extension as follows: xsd_to_mds.bat C:\\CDWALite-xsd-public-v1-1.xsd cdwalite CDWALite On Linux: ./xsd_to_mds.bash //CDWALite-xsd-public-v1-1.xsd cdwalite CDWALite This script uses the GSDLHOME/bin/java/ApplyXSLT to apply the XSLT file gli\classes\xml\xsd-to-mds.xsl to the downloaded input xsd file. It thereby generates an *.mds file (using the name given in the 3rd argument) in gli's metadata folder. The 2nd and 3rd argument are not used in the XSLT file at present as their values are still hardcoded in the XSLT, but they will shortly be accepted as parameters that the ApplyXSLT java will pass to the XSLT file. To manually run ApplyXSLT, to apply the XSLT file from the command line: C:\GSDLHOME\bin\java> java -cp xalan.jar;ApplyXSLT.jar;. org.nzdl.gsdl.ApplyXSLT -t C:\GSDLHOME\gli\classes\xml\xsd-to-mds.xsl -x C:\full-path\CDWALite-xsd-public-v1-1.xsd -o C:\GSDLHOME\gli\metadata\check.mds The above takes the xsLt file xsd-to-mds.xsl and applies it to the input Xml file (CDWALite-xsd-public-v1-1.xsd) to generate the Output file check.mds. See more on the internal wiki page at Writing_XSL#Running_ApplyXSLT_to_apply_an_XSLT_file_from_the_command_line