开发者

transform xml to xsl [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and 开发者_如何学Python cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

I'm calling a web service, it is returning result in XML format. How do I convert returning XML into XSL and display that in web browser?


I think that you mean that you wish to transform XML to HTML using XSL transformation (XSLT). If my assumption is correct, see this link: http://www.ling.helsinki.fi/kit/2004k/ctl257/JavaXSLT/Ch05.html

or just search "xslt java" in google.

If my assumption is wrong, sorry for missunderstanding.


XSL is a language for specifying the visual formatting of an XML document. You cannot extract XSL from XML.


You use XSLT to convert XML into something else. XSLT is a full programming language which takes some time to learn, but fortunately is fully available in the current version of Java.

You might find this link interesting: http://onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜