ʹ��Xalan����XSLT�������
--XSLTC
XSLTC��������XSLT�ļ������һ�����߶��Java��class�ļ���ͨ�����ַ�ʽ���Լ���xsl��ת���ٶȡ���Щclass����class�ļ��ϳ�ΪTranslet�������ļ�����Ϊxsltc, ��xslt compiler,����xslt compiling��
ʹ�������б���xsltc
�������ǽ������ʹ��xsltc�������й��߱���xls�ļ���xsltc�������й��ߴ�ſ������������gcc�Ķ���������ʹ��java���ġ�������ʹ���Ϊ
java org.apache.xalan.xsltc.compiler.XSLTC
[-o <output>] [-d <directory>] [-j <jarfile>]
[-p <package name>] [-u] <stylesheet>
����ʹ�ò���ʱ������Ľ��Ϊһ������һ����xsl�ļ�ͬ����class�ļ���������ʹ�����±���
���� | ʹ��˵�� |
-o | ָ������Ľ����.class�ļ����� ����-o hello ����������Ϊhello.class hello$0.class hello$1.class�ȵȡ� |
-d | �ƶ���������Ŀ¼�������ָ����Ϊ��ǰĿ¼�� |
-j | ָ��������Ϊһ��jar�ļ��� |
-p | ָ���������İ������֣����ʱ����Ӧ������ص�Ŀ¼�� |
��u | �ƶ�xsl�ļ���url�� |
��ҿ��ܿ���̫����������һ��������˵��������
java org.apache.xalan.xsltc.compiler.XSLTC -j hello.jar hello.xsl
���ڵ�ǰĿ¼������һ��hello.jar�ļ�������ļ�������˴�hello.xsl�ĵ����������.class�ļ���
������������translet
������������translet����������
java org.apache.xalan.xsltc.runtime.DefaultRun [-j jarfile] {-u <document_url> | <document>} <class> [<name1>=<value1> ...]
�������ֿ���̫����������һ��������˵�����ǡ�
java org.apache.xalan.xsltc.runtime.DefaultRun a.xml hello
����ʹ��˵��˵����ʹ��-jָ��jar �ļ����ҷ��ֵ�ĿǰΪֹ��D10�棩������ʹ���������������Ҫ��translet�Ž�classpath�ſ��ԣ�������û�ܳɹ����ڵ�ǰĿ¼ʹ�������������Ը��ֻ��һ��bug,������а汾���ṩ������
��TrAX/JAXP��ʹ��Translet
��TrAX��JAXP��ʹ��Translet�ع���������Ҫ�趨javax.xml.transformer.TransformerFactory ���ϵͳ���ԡ���������ӿ��Կ�������������������ʾ�����ʹ��TrAX�IJ�����ƶ�̬�趨TrAXʹ��Translet�����н��������������jdk1.3.1+Xalan 2.2D10�汾�µ���ͨ����������Ҫע�����Xalan�ṩ��Ӣ���ĵ����д����ڳ���������˵����
ֱ�ӵ���XSLTC
���ǻ�����д����ֱ�ӵ���XSLTC�Ĺ��ܡ������ҵij���û�е�������������jdk�����÷�������⣬�ҵĻ�����Ŀǰ�кü����汾��xalan���е�û��xsltc�������ڲ�֪��javac�õ�����һ������ͣ�ĸ������Ҳ���org.apache.xalan.xsltc.Translet���Ǻǡ����ٲ�������format c!"
XSLTC�IJ���֮��
Ŀǰxsltc�����ܺܺõ�֧����չ�������벻Ҫ����չxsl�ĵ��������顣������ؽ����ʲô��û�з�����ʲô��û�У�û�н����û�д�����Ϣ���������ĵؽ����ˡ��Ǻǡ�
![]() You are Visitor No: |
This site is under construction and all of the information that you've got from this site is subject to change. This site is best viewed with Mozilla--the greatest and buggiest browser in the history!-- and IE5.5 is applicable.
Sept. 16, 2001
�����ں�ҹ֮��ǹɱ���֡���������