I am studying all that i can about web services such as soap and found some of the xml displayed on some tutorials hard to understand so i decided to learn from the ground up to make sense of things. xml i already understand so then i saw xpath, xslt, xpath,xquery,xlink, xpointer,xml schema, xsl-fo. there are alot of x related stuff that exists in the xml world. i looked into xslt and dont really see any reason to why it would be used in small or big applications. pretty much of what it is doing can be done with css, javascript/jquery or server side. is xslt even being used? or how about DTD,Xpath,Xquery,Xlink,Xpointer,XSL-Fo,Xforms ?
i do know that xml schema is used with soap unless im wrong.
XSLTis a great technology for it's purpose, which is specifically transforming oneXMLdocument into another, or sometimes into a plain-text file. If you happen to have data and want to use it to produce HTML or XSL-FO or something else, thenXSLTis by far the best way to go. If you're passingXMLdocuments between applications and need to change their format,XSLTis the perfect tool.However, if your application isn't already using
XML, then you probably have no use for it. As a developer, I would recommend learningXSLTbecause when you do need to doXMLtransformation it's a great tool to have in your arsenal. In my application we use it in a few places where we have configuration files that get transformed as part of our build process. Besides that though, I haven't usedXSLTin years.XSLTused to be very commonly used on the server to produce HTML. This was particularly the case with traditionalASPback ends largely 'cause traditionalASPwas horrible and it was much better to have your business layer produceXMLwhich could then be transformed viaXSLTinto HTML as opposed to writingASPcode to generateHTML.Most modern server side environments provide very strong tools for writing dynamic
HTMLnow though soXSLTis less commonly used in this scenario.As far as comparing
XSLTtoCSS, there is really no comparison I can see.XSLTis about converting oneXMLdocument to another andCSSprovides visual styling information for anHTML(or sometimesXML) document.XPathis very commonly used when working withXMLdocuments and picking out individual pieces of information. It's also heavily used withinXSLT.I've never seen
XQueryorXPointeractually used in any of the companies I've worked.XML Schemais very commonly used for specifying the format ofXMLdocuments and validating them. It's heavily used within SOAP Web Services because WSDL utilizesXSDto specify the formats of theSOAPparts.XSL-FOis for producing PDFs usually. If you want to produce PDFs, this is one way. It technically could be used for other things too, but that's the only use case I'm aware of.