I have the following code in mye xsl-file: <xsl:text disable-output-escaping="yes"> <![CDATA[ <frameset rows="120px,*,50px" cols="100%" onload="start(frames[1]);"> <frame name="header" src="C:\header.html"/> <frame name="main" src="JavaScript:''"/> <frame name="buttonline" src="C:\buttonline.html"/> </frameset> ]]> </xsl:text> Before this code I have written a Javascript-function start(frm) between the head-tags of the document. When Cocoon parses the document, the generated html-file does not find the start(frm)-function. If I look at the source of the generated html-file, I can see that it is there... Why doesn't it find this function? And what can I do to make it find it? One more question: In the frame src I had to write the whole path. Is it possible to use relative addresses at all? Thank you in advance! Regards, Hege Hansbakk --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>