This is the second part of the video where I was talking about using XML files with RPG and SQL.
You can watch it here:
• Coding in RPG (IBM i/AS400). Using XML fil...
In this video, I try to parse a more complex XML file, with namespaces, attributes, and also, with duplicated tags.
Please, let me know what you think about it. Leave your comments below.
Don't forget to subscribe!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #as400 #common #modernize #SQLtraining #ibmchampion
0:00 Introduction
0:24 The new XML file, a little more complex with namespaces, attributes...
1:08 Changing the RPG source to parse the new XML file
1:35 Adding the new "customer identifier" and the phone numbers to my template
2:10 Changing the cursor: how to ignore the namespaces of the document
2:47 Changing the cursor: how to retrieve an attribute value
4:51 Changing the cursor: how to retrieve values from identical tags
6:10 Compiling the program...
6:29 Testing the program on the green screen
8:04 Final comments and ending