Show
Ignore:
Timestamp:
10.10.2013 19:43:27 (7 years ago)
Author:
ak19
Message:

Added a bash script equivalent to the batch script added yesterday. Updated the Readme file and minor changes to the batch file too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/xsd-to-gs-metaset/Readme.txt

    r28364 r28383  
    883. Then run the script in this extension as follows: 
    99xsd_to_mds.bat C:\<full-path>\CDWALite-xsd-public-v1-1.xsd cdwalite CDWALite 
     10 
     11On Linux: 
     12./xsd_to_mds.bash /<full-path>/CDWALite-xsd-public-v1-1.xsd cdwalite CDWALite 
    1013 
    1114This 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. 
     
    2326 
    2427The 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. 
    25 Specifying the output type and indentation 
    2628 
    27 See more at Writing_XSL#Running_ApplyXSLT_to_apply_an_XSLT_file_from_the_command_line 
     29See more on the internal wiki page at Writing_XSL#Running_ApplyXSLT_to_apply_an_XSLT_file_from_the_command_line