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?
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: 16 February 2011 12:49
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] XSL and php or rpg
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
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/web400.
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
As an Amazon Associate we earn from qualifying purchases.