Subject: Re: [xsl] Ant XSLT task issues - redo From: "Tony Graham tgraham@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 21 May 2024 12:37:58 -0000 |
I posted her as an XSLT adjacent question. I figured if anyone was using ant with xslt it would be here.
Since posting, I continued to work on the problem. For the record, I dropped the use of the xslt task and switched to the Java task to run my stylesheets. For whatever reason, I was having issues with getting a catalog resolver to work with the xslt task. The ant error was a
Catalog resolution with Ant is hit-and-miss. I've sometimes added 'resolver.jar' to the Saxon directory or the Ant 'lib' directory, and sometimes recreated the catalog as an <xmlcatalog> in the Ant build file.
generic I/O message which I discovered was an issue about not finding the DTD. After switching to Java, I discovered that the xslt task had an optimization feature, that if the stylesheet or content hadn't changed, it skipped running. I never verified, but that added to the flakiness I
I use XSLT to scan the real XSLT for <xsl:include> and <xsl:import> and generate a temporary Ant build file with Ant <path> elements for the dependencies of every XSLT file. The real build file imports that file.
Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham@xxxxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] [ANN] Balisage 2024 Prelimina, B Tommie Usdin btusd | Thread | [xsl] Seeking an elegant XSLT funct, Roger L Costello cos |
[xsl] [ANN] Balisage 2024 Prelimina, B Tommie Usdin btusd | Date | [xsl] Seeking an elegant XSLT funct, Roger L Costello cos |
Month |