XML & SVG Tools
SVG Slide Tool, 2.0 svgslide-2_0-beta-src.zip download => /usr/local/src # unzip svgslide-2_0-beta-src.zip # cd svgslide-2_0-beta-src # cp -r SVGslides /usr/local # cd /usr/local/SVGslides # chmod 755 *.sh Converting File XML to SVG # XMLtoSVG.sh input.xml output.svg Converting File XML to PDF # XMLtoPDF.sh input.xml output.pdf Converting File XML to FO # XMLtoFO.sh input.xml intermdiat.fo Converting File XML to PDF # FOtoPDF.sh intermdiat.fo output.pdf
Graphics 2D SVG Generator (2001.4 close -> batik) j2d2svg-1_0-beta-bin.zip download => /usr/local/src Xerces-J-bin.1.2.1.tar.gz download => /usr/local/src/ # tar xzvf Xerces-J-bin.1.2.1.tar.gz -C /usr/local # unzip j2d2svg-1_0-beta-bin.zip # cp -r j2d2svg /usr/local export JAVA_HOME=/usr/local/j2sdk1.3 export XERCES_HOME=/usr/local/xerces-1_2_1 export J2D2SVG_HOME=/usr/local/j2d2svg export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$J2D2SVG_HOME/svggen.jar: $J2D2SVG_HOME/svggenDoc.jar:$J2D2SVG_HOME/gif.jar:$XERCES_HOME/xerces.jar:...... # source ~/.bashrc # cd /usr/local/j2d2svg # java HelloSVG HelloSVG.svg 実行画面 TOMCAT3.2 JSP SVG test (tomcat + Apache) Sample JSP_SVG.jsp http://jdc.sun.co.jp/javaxml/jsp/ # cp JSP_SVG.jsp /usr/local/jakarta//build/tomcat/webapps/test/jsp/ # chmod 644 JSP_SVG.jsp NetscapeNavigator 473 win SVG Plug-in set http://192.168.1.51:8080/jsp/JSP_SVG.js http://192.168.1.51/test/jsp/JSP_SVG.jsp?title=Tomcat+JSP+Apache!&color=red こんな画面(JPG) 拡大縮小ギザギザなしjpg & gif より少ない容量で高性能 日本語表示 (NN473 win font Cyberbit.ttf install) # cp JSP_SVG.jsp JSP_SVG-j.jsp # vi JSP_SVG-j.jsp # iconv --from-code=EUC-JP --to-code=UTF-8 JSP_SVG-j.jsp --output=JSP_SVG-u.jsp # cp JSP_SVG-u.jsp /usr/local/jakarta//build/tomcat/webapps/test/jsp/ http://192.168.1.51/test/jsp/JSP_SVG-u.jsp?&color=red こんな画面(JPG) Chinese Koreanの画面 Cantones Thaiの画面 Multilingualの画面
INRIA Jackaroo(SVG Viewer) jackaroo.zip download => /usr/local/src # unzip jackaroo.zip # cp -r jackaroo /usr/local # cd /usr/local/jackaroo # java -jar jackaroo.jar File Open sample map.svg 実行画面
batik Apache (turbolinux7) batik-src-1.1.1.zip download => /usr/local/src batik-docs-1.1.1.zip download => /usr/local/src jython-21b2.class download => /usr/local/src jacl126-noarch.zip download => /usr/local/src # emacs /etc/bashrc export JAVA_HOME=/usr/local/jdk1.3.0_05 export JAKARTA_HOME=/usr/local/jakarta export JAXP_HOME=/usr/local/jaxp-1.1 export ANT_HOME=$JAKARTA_HOME/jakarta-ant-1.4.1/bootstrap export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAXP_HOME/jaxp.jar:$JAXP_HOME/xalan.jar: $JAXP_HOME/crimson.jar:............ export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:........... # cd /usr/local/src # cp batik-src-1.1.1.zip /usr/local # cd /usr/local # unzip batik-src-1.1.1.zip # rm batik-src-1.1.1.zip # cp batik-docs-1.1.1.zip /usr/local/xml-batik # cd /usr/local/xml-batik # unzip batik-docs-1.1.1.zip # rm batik-docs-1.1.1.zip # cd /usr/local/src # jar cvf jython.jar jython-21b2.class # cp jython.jar ../xml-batik/lib # mkdir jac126 # cp jacl126-noarch.zip # cd jac126 # unzip jacl126-noarch.zip # cp ./lib/*.jar ../../xml-batik/lib # cd /xml-batik # ant dist-tgz # cd batik-1.1.1 # java -jar batik.jar 実行画面 # mkdir jpg # java -jar batik-rasterizer.jar -d jpg -m image/jpg samples/*.svg Converting file:XXXX.svg to XXXX.jpg # mkdir png # java -jar batik-rasterizer.jar -d png -m image/png samples/*.svg Converting file:XXXX.svg to XXXX.png
Krysalis Barcode (バーコード SVG Servlet) krysalis-barcode-0.9-bin.tar.gz download => /usr/local/jakarta/src # tar xzvf krysalis-barcode-0.9-bin.tar.gz # cd krysalis-barcode-0.9 # cp krysalis-barcode.war /usr/local/jakarta/tomcat4.1/webapp 実行画面 http://localhost:8080/krysalis-barcode/
CSIRO SVGToolkit svgtoolkit-20001211.zip download => /usr/local/src CSS2 Parser ss_css2_0_1_3.zip download => /usr/local/src SVGFont svgfont-jar-20000729.zip download => /usr/local/src # unzip svgtoolkit-20001211.zip # cd svgtoolkit-20001211 編集 # vi view.sh java -cp svg.jar:./lib/xerces.jar:./lib/ss_css2.jar:./lib/js.jar org.csiro.svg.viewer.Viewer $* # ./view.sh 実行画面
X-Smiles (turbolinux7) xsmiles-0.5-bin.zip download => /usr/local/ xsmiles-0.5-demo.zip download => /usr/local/ jmf-2.1.1-beta2-linux-i386.tar.bz2 download => /usr/local/src # tar Ixvf jmf-for-java2-2.1.1-fcs-linux-i386.tar.bz2 -C /usr/local/IBMJava2-13/jre # cd /usr/local # cd /usr/local # unzip xsmiles-0.5-bin.zip # unzip xsmiles-0.5-demo.zip # cd xsmiles-0.5 # java -jar xsmiles.jar 実行画面
XML スキーマ言語 RELAX RELAX to JAVA & DTD Relaxer setup.zip download => /usr/local/src # java -cp setup.zip setup /usr/local/relaxer /usr/local/relaxer/bin yes # cd /usr/local # chmod -R 755 relaxer # cd /usr/local/relaxer/bin # relaxer -version DTD to RELAX Converter DTD2RELAX_1_1_1-bin-XML4J.jar download => /usr/local/src # java -jar DTD2RELAX_1_1_1-bin-XML4J.jar SmartTable download => /usr/local/src
java_xml_pack-winter01-dev.zip download => /usr/local/src java_xml_pack-winter01-doc-tutorial-dev.zip download => /usr/local/src