saxon:output and Saxon 9
Added by Anonymous almost 16 years ago
Legacy ID: #5838752 Legacy Poster: Michal Urban (miuatsf)
I'm trying to migrate a Saxon 6 based framework to Saxon 9.1. We have a number of stylesheets using the saxon:output extension. This doesn't seem to work in XSLT 1.0 mode anymore, at least I couldn't find any info how to make it work. I tried to migrate the stylesheets to XSLT 2.0 using xsl:result-document (and the href had to be cleaned up to be a proper URI, while a "crude" path would suffice previously). Having fixed this, I'm facing a number of new problems, likely arising from XPath 2.0 differences which I don't have time to chase right now. Is it possible to have XSLT 1.0 stylesheets using saxon:output behaving "normally" in Saxon 9?
Replies (2)
RE: saxon:output and Saxon 9 - Added by Anonymous almost 16 years ago
Legacy ID: #5838840 Legacy Poster: Michael Kay (mhkay)
As a general policy, where Saxon extensions in Saxon 6.x were superseded by new facilities in XSLT 2.0, I left the old facility in the product for a couple of releases to aid transition and then removed it. Of course that doesn't help people who delayed the transition, but since the two facilities are not exactly synonymous it would have been very cumbersome to maintain both. I don't think there's anything that saxon:output did that can't be done with xsl:result-document, but there are a few differences of detail for example in the way that relative paths are handled.
RE: saxon:output and Saxon 9 - Added by Anonymous almost 16 years ago
Legacy ID: #5838910 Legacy Poster: Michal Urban (miuatsf)
I appreciate your prompt response, Michael! I think I'll stay with Saxon 6 until I have time to fully migrate and test all stylesheets under XSLT 2.0. I guess it will help to read some of your books in the meantime! ;)
Please register to reply