I'm experimenting with permalinks for the daily news on this site. I've written an XSLT stylesheet that extracts the news and stores it into a daily file. Currently a cron job regenerates the data every hour, which means the link can be broken or out of date for as much as 59 minutes. I really need a better way to automatically recognize when the main index file has changed and only then regenerate the news extract without manual intervention. This is all running on Linux. Anyone have an idea?
I've posted XOM 1.0d21, my tree-based streaming API for processing
XML with Java. This release collects a large number of small fixes and improvements: more standard XInclude results, exceptions that behave properly in Java 1.4, cycle detection when building documents, non-final copy methods, a checkDetach()
method, and more.
There are API level changes in this release but most of them are backwards compatible, and the ones that aren't are in fairly obscure areas of the API. Almost all 1.0d20 code should run just fine in 1.0d21 with maybe just a recompile. Details on the web page.