Ok, here is what we have. We are rendering an xslt inside of uPortal channel using a ContentHandler (which is the variable out in this example).
XSLT xslt = new XSLT(this);
xslt.setXML("<dream></dream>");
xslt.setStylesheetParameter("mediaBase", mediaBase);
xslt.setXSL(sslLocation, "View", runtimeData.getBrowserInfo());
xslt.setTarget(out);
xslt.setStylesheetParameter("isApplicantAccept", m_applicantAccept);
xslt.setStylesheetParameter("isEmployee", m_employee);
xslt.setStylesheetParameter("isStudent", m_student);
xslt.setStylesheetParameter("baseActionURL", runtimeData.getBaseActionURL());
xslt.transform();
What we are needing to do here, to essentially pass the "mediaBase" variable to multiple stylesheets but not render the other stylesheets in our channel. I am thinking this is not possible since the stylesheet will not be "active" until the javascript calls the new xsl file and not transformed by the server, but thought it may be worth a shot asking around.
Thanks!
|