> javax.xml.transform.TransformerException: "with-param" attribute is not > allowed on the xsl:call-template element! > > But I'm not doing any with-param call (though I'd like to). Here's the > XSL:
Yes, you are, the XSL template expect three of them: > <xsl:param name="isAuthenticated">yes</xsl:param> > <xsl:param name="sectionID">profile</xsl:param> > <xsl:param name="pageID">profile</xsl:param> Unless you provide default value for them, it throws an error. BTW XmlTransform() doesn't allows you to pass parameters to an XSLT file, if you would like to work around this, check: http://www.cfmentor.com/code/index.cfm?action=script&id=123 In case you would like to see it in action please try this: http://www.massimocorner.com/demos/xslTransformPlus.zip ---------------------------- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ---------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

