[lug] xml for web pages

D. Stimits stimits at attbi.com
Fri Oct 18 13:50:32 MDT 2002


Laurent LeThuaut wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> D. Stimits wrote:
> 
>>... Out of curiosity, I wonder what XML/XSLT abilities python has?
> 
> 
> You may want to look at:
> http://4suite.org/
> 
> 
>>And does anyone here use stand alone dedicated XML/XSLT programs
>>(e.g., maybe Xerces/Xalan work on command line in some way, I've
>>only seen it as a C++ or Java API)?
> 
> 
> Actually you can, 'xalan' or 'saxon' can be invoked in Makefiles or
> you can use 'Apache Ant' for transforming XSL (newer 'Ant' versions
> have an Xslt built-in task). In both cases you'll have to have a JVM
> installed and reference few jars in your CLASSPATH. I've been happy
> with it so far, and I guess the fastest you can get there is trying
> 'saxon' with 'make'.
> 
> xsl_proc = java com.icl.saxon.StyleSheet $(xsl_flags) \
>            -o $(out) $(in) $(html_style) $(xsl_params)
> http://saxon.sourceforge.net/
> 
> xsl_proc = java org.apache.xalan.xslt.Process $(xsl_flags) \
>            -in $(in) -xsl $(html_style) -out $(out)
> http://xml.apache.org/xalan-j/
> 
> Ant (rpm):
> http://jakarta.apache.org/builds/jakarta-ant/release/v1.5.1/rpms/

It seems strange that there are so few dedicated stand-alone apps for 
this, designed for stdin/stdout. For java, I can understand all of the 
web server stuff, since java servlets/tomcat are so popular. I'll give 
this one a try with a Makefile.

D. Stimits, stimits AT attbi.com




More information about the LUG mailing list