Posts

Showing posts with the label XML

XML Parsing in RPGLE ( IBMi/AS400)

Image
  XML Parsing in RPGLE In this section, we will learn about the process of parsing XML data using RPGLE language. Directory Creation: Step 1:  Write command-  crtdir on the command line and take F4.                     Step 2:  Write a name for your directory and press enter- Here I am taking the name as "Tech Sharmit". Step3: On pressing enter, we will get the message that the directory is created. Step4: Now write command- wrklnk  on the command line and press enter. Step5: Here we got our newly created directory named as TechSharmit. XML File Creation: Step6: Now take option 2 on your directory to create the xml file. Step7: Now write the name of xml file which you want to create for parsing,  here I am creating the file as Data.xml (Use .xml as an extension after your file name). Step8: Now take option I8 to insert 8 blank lines and press enter. Step9: Now place your xml code here and press F3 ...