The xslt code was casting an XString to a XNodeSet, so I added xalan:nodeset($OSHProfile)... to the xslt expression and that worked. Not sure I understand why xslt was handling an XString when the parameter was set as a document element. This nodeset and tree fragment business is a bit confusing to me.
- ClassCastException thrown from transformation kroberts
- kroberts
