This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I'm new to webservices and SOAP,etc. All I have a XML Schema(XSD) and a Webservice and JAXB set up on my system. My role is do so something with the XSL or XSLT(I dont know). But i cant seem to join the pieces together. I have many tutorials but they all talk about SOAP, UDDI, which again I am new to. Can anybody be kind enought to give me a high level understnding of the whole thing and the role of XSL/XSD/XSLT in it. Thanks in advance,
XSD is an XML schema. A schema defines what an XML document should be like, how it should be structured. For instance if you wanted to define an xml-based language describing planes you would enforce language rules stating for instance that a plane has 2 wings only but can have 1 to 4 motors...
XSL: Extensible Stylesheet Language (XSL) - defines the presentation of an XML document and used to translate XML documents into other formats (like XHTML).
XSLT: Extensible stylesheet language transformation (XSLT) is a language for transforming XML documents into other XML documents. XSLT is designed for use as part of XSL, which is a stylesheet language for XML.
XSLT is used to transform one XML bit to another. For instance, if you receive a plane description in your system but want to make it readable by the mechanics (hence stripping out any reference to electrics) you would transform with rules...
The most simple use of XSL / XSLT is the presentation of XML into HTML for pretty printing or web purposes.
As for web services, well XSLT can be used at an intermediary point to transform SOAP messages from a given form to another (whether SOAP or not).
No matter what they say in Ohio, we're still first in flight!
Joined: May 15, 2006
Hi David, Thanks for your time and answer. But i had already covered the topics. I couldnt figure out where the XSLT fit into the WS. Thanks i am now clear about the pciture. [ November 07, 2006: Message edited by: RoshaniG Gopal ]