This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have to migrate an application written in ms-xml parser to a java based one .the application uses combination of xml and xslt to produce the html result the older xslt has got ms-xml:nodeset this i have converted to exsl:nodeset for java, the converion is taking place and i am getting the result also
but when i transfer the application to j2sdk1.5 the application crashes giving this error 'Invalid conversion from 'node-set' to 'com.sun.org.apache.xalan.internal.xsltc.runtime.Node'.'
i use the xalan processor which is inbuilt with jdk
can any body tell me what is the solution to this or how to migate xmlbased application from j2sdk1.4 to j2sdk1.5
Thanks for the reply first of all i want to convert an application running on MSXML to XALAN
The msxsl:node-set function enables you to convert a result tree fragment into a node set. The resulting node set always contains a single node and is the root node of the tree. Namespace is :xmlns:msxsl="urn:schemas-microsoft-com:xslt"
The exsl:node-set function returns a node-set from a result tree fragment (which is what you get when you use the content of xsl:variable rather than its select attribute to give a variable value). This enables you to process the XML that you create within a variable, and therefore do multi-step processing. Namespace is :xmlns:exsl="http://exslt.org/common"