|
Transform xml files into html filesIf you would like to download our software and develop the html pages here is how you can do that: 1.prepare your xml files. here is an example: (http://www.isrl.uiuc.edu/~openkey/prairieplant/XML/Amorpha_canescens.xml) 2. Put the plant information into a spreadsheet. Below is the format we used (columns A-E) YOU MUST USE THIS FORMAT! You can use one of our sample files. There are two sample files that you can use to format your data. You can download either one by clicking on its name and following your web browser's download instructions. image3.xls is a sample file that has been filled out already. imageblank.xls is a file with just header information so you will not need to delete anything. 3. The following program can combine the image and xml into one xml file. CombImage.pl To run the program under unix, use comand: ./grandxmltohtml.sh Here is an example of xml files with image: (http://www.isrl.uiuc.edu/~openkey/prairieplant/XML/xmlwithImage/Amorpha_canescens.xml) 4. The following program can print xml files into grand xml files. print_grand_xml.xsl To run the program under unix, use comand: ./xmltograndxml.sh Here is an example of grand xml files: (http://www.isrl.uiuc.edu/~openkey/prairieplant/taxon/xsl/xmlTemp/Amorpha_canescens.xml) 5. Download these files to that directory: displaytohtml.xsl The grandxmltohtml.sh file includes following code: To run the program under unix, use comand: ./grandxmltohtml.sh Here is an example of html files: (http://www.isrl.uiuc.edu/~openkey/prairieplant/Speciespages/Liatris_aspera.html) Any comment or question? Contact Lilli Szafranski at (217) 333 - 7123 |
![]()