A place for SGML and XML application developers.

July 23, 2014

Using Apache ANT to run XSLT

Filed under: ANT,Eclipse,XML,XSL,XSLT — cangione @ 5:38 pm

I have been using Apache ANT within Eclipse to run XSLT. The advantage to using ANT is you can easily setup a processing pipeline utilizing various XSLT filters.

Example Ant Target:

<target name="Run-XSLT-Filter" >	
	   <xslt style="myfile.xsl" in="example.xml"  out="example-reloaded.xml"> 
                <!--add your favorite XSLT Processor here-->
	   	<pathelement location="classes/saxon.jar"></pathelement>

August 18, 2011

Determining if XML Content should be printed on 8.5 x 11 or A4 Paper

Filed under: XSL — Tags: , , — cangione @ 3:24 pm

I saw a clever style sheet implementation this week. It determined the correct page layout size using the xml:lang attribute. If xml:lang is set to anything other then “en” use the International ISO standard A4 size!

US Letter is actually the most common paper size for office use in several other countries, including Canada, Mexico, Bolivia, Colombia, Venezuela, the Philippines, and Chile so there are a few more language codes that should be added for the US Letter size if you are doing business there.

July 26, 2007

I’ve Become a Font Snob

Filed under: Books,CSS,Rants/Musings,XML,XSL — cangione @ 1:05 am

It’s two in the morning. I’ve been done with the content of the document I’m working on for two hours and I just finished selecting the fonts I’m going to use. This is kinda geeky even by my standards.

I blame “The NON-DESIGNER’S COLLECTION” by Robin Williams and John TOLLETT. After reading the three books I guarantee you will never look at serif and sans serif fonts the same way again. After a couple of arduous hours, I’ve finally selected “Franklin Gothic Medium” as my sans serif font and “Book Antiqua” as my serif font, although I would have preferred to use “RotisSemiSerif” but didn’t feel like paying 200 bucks for the font.

Charles Angione

March 23, 2006

oXygen Development Enviornment for XML a multi platform alternative to Altova XML Spy

Filed under: Eclipse,Software,XML,XSL,XSLT — cangione @ 9:44 pm

Downloaded the latest version of the <oXygen> XML IDE last night and was impressed with what I saw. <oXygen> is cross platform and supports both Linux and Windows as well as the Eclipse IDE. One things that I have always like about the Altova XML Spy suite (that they remove from their community edition) is the ability to collapse an element in the edit interface. This comes in really handy when working with complex documents. <oXygen> also has a nice Schema interface, XPATH 2.0 interface and diffing tool.

Altova charges big bucks for all of this functionality. The equivalent functionality in <oXygen> for 1/4 the price, cross platform to boot? Summary good deal!

NOTE: If you are running <oXygen> under Linux you do need a Sun JVM. The JVM that comes with the Fedora Core 4 & 5 distributions is not supported. To make it work in Fedora Core, rename the supplied /usr/bin/java binary to java.old and then include a link called java to the SUN JVM.

October 25, 2005

Arbortext XSL Support

Filed under: XSL — @ 3:12 pm

A detailed description of the Arbortext 5.1 XSL FO support is
available at:

April 8, 2005

FOP Current Status

Filed under: Software,XSL — cangione @ 5:46 pm

Current FOP status:

March 11, 2005


Filed under: XSL — @ 2:01 pm

 A good way to add seperators and dots to a line on a page.



Filed under: XSL — @ 2:01 pm

 A common mistake is to put provisional-distance-between-starts on the fo:list-item element instead of the fo:list-block element.

Good to know about Flow

Filed under: XSL — @ 2:01 pm

 You can’t have static content (ie stuff for headers and footers in the fo:flow element)! Put it before.

Comparing CSS and XSL: A Reply from Norm Walsh

Filed under: XSL — @ 2:01 pm

 Interesting debate. Like Norm I’d prefer an XML expression of CSS.



Powered by WordPress