Quick Study: Tips for Better XML Transformations
If you're looking for the best and quickest way to wrap your brain around XML transformations, you can breathe easy. Integration Developer News has found several hands-on sites to help you get your XML applications down to business.
- For developers looking to do some hands-on XML tweaking for performance or for tailoring searches, XML technical author Bob DuCharme has just completed a two-part series that overviews the techniques for best using XSLT and XPath. DuCharme, also author of the new book, XSLT Quickly, says these tools are great when you're manipulating text. They provide functions for searching strings and pulling out substrings for rearranging documents to create new documents.
- Java developers might also want to check out an XSLT processor for transforming XML documents into HTML, text or other XML document types. It implements the W3C Recommendations for XSL Transformations (XSLT) and the XML Path Language (XPath). This XSLT processor can be used from the command line, in an applet or a servlet, or as a module in other programs.
- If you would like to learn more about how to use the XSLT instructions and template rules, manage namespaces, control transformation output, use multiple style sheets and employ pattern-matching with template rules -- Microsoft's Don Box, Aaron Skonnard and John Lam have posted an extremely interesting article with links to download the code.
- Also check out an Integration Developer Newsinterview on XSLT and XPath with Zarella L. Rendon, coauthor (with John Robert Gardner) of Prentice Hall's XSLT and XPath: A Guide to XML Transformations, to find out what aspects of XSLT and XPath can best help developers with their web services and integration projects. Rendon, also a member of the W3C XSL Working Group, offers advice on what specific types of XSLT (or XPath) functions offer Open Source developers the best "bang for the buck."