Subject:Running Script in Stylus Author:(Deleted User) Date:31 Aug 2000 09:46 AM
I am using Stylus 2.0.17 with JRE 1.2.2 and I get an exception when running my XSLT using the native stylus processor due to the fact I have an tag in my code.
It follows the example that Microsoft have in the MSXMLSDK July documentation
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="http://mycompany.com/mynamespace"
version="1.0">
function xml(nodelist) {
return nodelist.nextNode().xml;
}
Is there any way to have this work (with the Native Processor)? as I love the way it enhances the IDE with debugging, Jump-To-Code by clicking in HTML, etc...
I know I can work around by choosing the IE Processor and unchecking the 'Force Original Names, but I would love to see a more integrated solution.
Subject:Running Script in Stylus Author:(Deleted User) Date:31 Aug 2000 03:24 PM
You of course shouldn't be getting an exception, but Stylus's native processor does not support msxsl:script. You can write extension functions in Java, though. Stylus closely follows the LotusXsl/xalan format for doing that.
Subject:Running Script in Stylus Author:(Deleted User) Date:01 Sep 2000 08:49 AM
Alex, thanks for the reply.
I am currently not familiar with writing the Java Extensions you mentioned, and so I will continue to do my work using the IE processor and msxl:script.
Might I perhaps request in a future release of Stylus more support for the msxml:script in your native processor? Or, a tighter integration of the msxml processor?