I'm trying to port some IE code to run on Mozilla and other DOM-compatible browsers. This code does an XSL transformation using a stylesheet that makes extensive use of the mode attribute (<xsl:template mode="foo">) to do the transformation. In IE, you can set the mode like this:
xsltProc.setStartMode("foo"
;
But I can't find a way to do this in Mozilla. I tried this:
xsltProc.setParameter(null, "mode", "foo"
;
but it didn't work. Any ideas? Thanks in advance for your help!
xsltProc.setStartMode("foo"
But I can't find a way to do this in Mozilla. I tried this:
xsltProc.setParameter(null, "mode", "foo"
but it didn't work. Any ideas? Thanks in advance for your help!