How do we get the xml transformed into wml using xsl on the server side using
java.i.e. servlets or jsp.as on client side it is not possible to convert
from an xml to xsl as the browser doesnt support it.
Re: XML question
Use the XSLProcessor class.
In your doGet or doPut or service method put code like this ...
XSLProcessor processor = new XSLProcessor();
XSLTInputSource xmlIS = new XSLTInputSource(xml);
XSLTInputSource xslIS = new XSLTInputSource(xsl);
StringWriter wml = new StringWriter();
XSLTResultTarget target = new XSLTResultTarget(wml);
processor.process(xmlIS, xslIS, target);
"Pravin" <firstname.lastname@example.org> wrote:
>How do we get the xml transformed into wml using xsl on the server side
>java.i.e. servlets or jsp.as on client side it is not possible to convert
>from an xml to xsl as the browser doesnt support it.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL