> We we're able to do that this way:
> ...
>     <xsl:variable name="emps" select="document('employeeNames.xml')"/>
> ...

I would suggest using an aggregator and avoiding the document() function within 
Cocoon. Cocoon will not know that you have referred to an external document, and 
thus will not take this into account when deciding whether to serve a cached page or 
not. Thus your employeeNames.xml file might change, but Cocoon wouldn't notice, 
and thus would serve the cached version - not good. Therefore, the advice is avoid 
document() and use an aggregator.

> But what we see in your example, is that we can accomplish the other
> objective we've just asked, by transforming one time to the source
> write, and transform another time to html, and then show the results
> to browser :)
> 
> We'll try your tips on that!

Hope it works.

Upayavira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to