<xhtml:script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="file.js" type="application/javascript"/>
也可以看看http://www.ibm.com/developerworks/xml/library/x-ffox3/