Convert XML Documents into Different Formats with the XSL Template Language By Bob Swart, Delphi Pro
XML documents contain content and definitions but little information about how you should display them (e.g., inside a browser). However, with an XML eXtensible Stylesheet Language (XSL) template or transformation file, you can convert an XML document into a different (usually HTML-compliant) format. In this 10-Minute Solution, we'll use the XSLPageProducer component to accomplish this file conversion with Delphi 6 or Kylix 2 Enterprise.
Delphi and Kylix components can represent their data content in XML format, but how can I convert this data to another format when I need to?
I will show you how to convert any XML data packet or document (using XSL Transformation rules) to a browser-readable HTML format with a new component in Delphi 6 and Kylix 2 called the TXSLPageProducer.
Would you use XSL to convert XML data packets into HTML-compliant XML, or would you rather use XSL to turn a regular XML document into something else? Let us know in the DevX discussion groups!