[lug] xml for web pages

Laurent LeThuaut laurentlt at yahoo.com
Thu Oct 17 14:15:37 MDT 2002


-----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/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (MingW32) - WinPT 0.5.13

iD8DBQE9rxmXRVJYh2FZKzURAqMiAJ9U+jkU01bq1LojEzAcSdGzGHey+wCeK/7y
Krdom2WatfNFjGJQPuuorVk=
=IyaZ
-----END PGP SIGNATURE-----


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com



More information about the LUG mailing list