Posts

Directives in Angular (ng-app , ng-model , ng-bind)

Image
Source code for angular directives:- <html>     <head>         <title>Angular Directives</title>         <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js"></script>     </head>     <body>         <div ng-app="">             <h1 align="center">Angular Directives!</h1>             <br>             <p>Enter Name : <input type="text" ng-model="UserName"></p>             <br>             <p>Welcome, <span ng-bind="UserName"></span></p>             <br>         </div>     </body> </html> Output: Thanks for reading Please fin...

XML Parsing in rpgle using Data Structure

Image
Source Code to parse all xml tag at once using a data structure **Free                                                            DCL-S  FileName Varchar(500) INZ;                          DCL-S  Options varchar(500) INZ;                                                                                      Dcl-ds ChannelInfo qualified;                                    Name varchar(50);                 ...

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 ...