In my opinion there is little difference creating XML or HTML using RPG,
especially if you are used to XHTML-style syntax.

The primary benefit is to use the same data for different transformations or
presentation. It's been a while since I read about XSL, but I recall
different XSL files can convert the same XML to HTML, PDF, Excel, CSV, or
other output without recreating the source data. XSL can also present the
data in different views such as summary vs. detail, or different rollups.
XSL can hide data that is unneeded for certain presentations.

This is similar to how CSS style sheets can format HTML in different ways,
see http://www.csszengarden.com/. XSL can do similar with XML.

--Loyd

On Wed, Feb 16, 2011 at 11:48 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxxx
wrote:

Hello

I am not sure I grasp the benefit - especially if your experience lies in
HTML rather than xsl. Why is it simpler for a RPG program to generate XML
than it is to generate HTML?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.