I've thought about it before, but do you want to do the transform (to HTML,
PDF, Excel, or whatever) on the server or the client? I think newer web
browsers can now do the XSL transform natively, but at the time I was
investigating doing the transform on the server. Unfortunately, I didn't get
very far and haven't looked at this in years.
Loyd
On Wed, Feb 16, 2011 at 6:48 AM, David FOXWELL <David.FOXWELL@xxxxxxxxx>wrote:

Hi,

I've just read an article that shows how to clean up php code using xsl.
The script would simply generate xml instead of html which would be left to
the xsl processor. As someone who is only a debutant in php but not bad in
xsl, this looks like a great idea. I don't see why it would not be a great
idea even for an expert in php. The article is already 10 years old, so I
wondered if there are any disadvantages to this way of doing things as I
have not read of such a technique before. Also, couldn't the same technique
be applied to developping with CGIDEV? I have only a little experience with
this, but wouldn't it be so much simpler if the rpg program only had to
generate XML?

http://articles.sitepoint.com/article/get-xsl-dirty-work



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.