0 pts.
 How To Bring In XML From HTTP For Transformation
XML
There exist an external XML file (accessible via http://) which will be updated often. I would like to transform the XML without having to copy and past it locally and present the info in HTML format. So: I'd like to run an XSLT on XML data which is accessible only via http:. Is there a way for me to go about doing this? What is the syntax? How do I sent up the XML/XSLT files? An example would be great! Thanks in advance.

Software/Hardware used:
ASKED: September 21, 2005  6:23 PM
UPDATED: September 22, 2005  9:47 AM

Answer Wiki:
It sounds to me as if you are effectively trying to consume this URL as a web service. Check out Scott Klement's excellent HTTPAPI which you can find at www.scottklement.com. It gives you the ability to access web pages from within an RPG program (i.e. the program acts as the client). It also includes a port of the EXPAT XML parser which will make it much easier for you to parse the content if it is in XML. Scott has also written articles on using this parser which you can find at www.iseriesnetwork.com.
Last Wiki Answer Submitted:  September 22, 2005  9:47 am  by  JonP   0 pts.
All Answer Wiki Contributors:  JonP   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _