My next step would be to debug this stylesheet but any other suggestion would be more than welcome.I rather assumed that you only posted to the list after failing to debug the stylesheet.Your next step might be to post a complete but minimal source document and stylesheet that demonstrate the problem.Michael Kayhttp://www.saxonica.com/