XML RSS to HTML parser doesn't work

Posted by mstr on Stack Overflow See other posts from Stack Overflow or by mstr
Published on 2010-04-01T07:07:55Z Indexed on 2010/04/01 7:13 UTC
Read the original article Hit count: 340

I'm using MCX (I don't even know if someone here is familiar with it, pretty unkown derivate of COBOL and Fortran, look it up in google when you don't believe me)

Note: I'm using MCX on the MCX-WebServices server as it does neither support apache or ISS, mabye that is one problem.

The thing is that I want to use the XML library to read in an XML file and convert it into an output format readable by the user. The XML lib already has all the functions I need for that, yet my program fails.

#!usr/bin/mcx
$PGRM.ID: index.mcx
$PGRM.AT: /mstr

SHOWERROR:
 WRITE XML.LastError --> OUTPUT
 DO_FLUSH
 xcit
 end\

MAIN:
 IMPORT Extras.XML
 USE Extras

 $XML_RSS_FILE: XML.ReadIn "rss.xml"

 ! $XML_RSS_FILE --> GOTO SHOWERROR

 $XML_RSS: XML.FormatRSS1 <-- $XML_RSS_FILE

 ! $XML_RSS --> GOTO SHOWERROR

 WRITE $XML_RSS --> OUTPUT
 DO_FLUSH
 FLUSH
 xcit
 end\

Program output: Nothing The rss.xml file 100% exists and is readable

Thanks in advance

© Stack Overflow or respective owner

Related posts about error-message

Related posts about Xml