Hi all,

I'm using XSLT templates with saxon for conversion from xml to xhtml. Apart from the main xml document, the stylesheet access some data though xpath function 'document()'. The data returned by these uri is generated dynamically.

The problem is that for the first transformation the data is right, but the transformation performed afterwards also uses the data returned earlier. Can I force saxon to pull data every time a transformation takes place using the compiled stylesheet?

Thanks a lot,
Anand Nalya