decorative banner

Working with XML that needs restructuring


    If the XML structure is not a good match for how you want to use it on the Web page, you can transform it using XSLT. The resulting XML is then processed as described in prior sections for use on the Web page. XSLT is a powerful pattern matching and manipulation language. Describing XSLT programming is beyond the scope of this guide. There are number of books and papers on XSLT available in bookstores and online.

    In the XML Data Source editor, if you specify that an XSLT transform is to be applied, it is applied to the sample before the sample is displayed in the editor.

    Similarly, when a Web page containing an XML content source is served, the XSLT transform is applied to the XML before it is further processed to place content on the Web page.