RPG-XML
45 pts.
0
Q:
RPG-XML
Can anyone please help this poor guy... that's me...I need to know how to code on RPG/ILE to transfer XML code to the customer..Do I use flat files? Please help me..
ASKED: Aug 27 2009  9:43 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
2005 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Yes - flat file.
I think there are some generation tools but you can also write these using RPG
Just remember every tag must match an end tag and nesting must be correct.
<Tag> </Tag>

No exceptions ..
If I remember correctly you can test in word or explorer.

Phil


/////////////////////////////////

Hi Devan,

Initially you need to build your XML to send it to your customer. There is many ways to do that.
- You can have a XML template on a variable in memory and place the values on it
- You can use a payed tool to do that
- You can use CGIDEV2 which use a template in a STMF

After that, the problem is how do you intend to send it to your customer? Consuming a web service on your customer web site? An attachment to an e-mail? In each case there is tools to do that.

Give me some additional information about what you want to do to give you more details.

Regards,
Wilson
Last Answered: Aug 27 2009  6:01 PM GMT by WilsonAlano   2005 pts.
Latest Contributors: Philpl1jb   24610 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Sloopy   1940 pts.  |   Sep 1 2009  10:32AM GMT

I have some example code to create XML from AS/400 database files.

Email me at  <a href="mailto:john.blenkinsop@ne.nykline.com" title="mailto:john.blenkinsop@ne.nykline.com">john.blenkinsop at ne.nykline.com</a> and I will send you the sample code.

Regards,

Sloopy

 
0