990
Views
2
Comments
[XML Records] How to create XML Structure from Input Fields data 
Question
xml-records
Service icon
Forge asset by Afonso Carvalho

Hi,


I needed to create some complex xml by collecting data from web page. I created web page in my espace. Web page has 4 to 5 input fields. I needed to construct xml using these input fields values. What is the best way to do it in outsystems.


Thanks,

Aarti

2014-02-13 10-06-38
Ricardo Silva

Hi Aarti,

I'm not sure from your description where you're having difficulties.

In order to produce an XML from a set of parameters using XML Records, all you need to do is:

  1. create a structure with the desired information
  2. call RecordToXML on a record of that structure to serialize it into XML

Were you able to achieve what you wanted, or are  you having difficulty on a specific step?


2018-11-06 14-26-44
Suraj Borade

Hi aarti,

Are you able to solve your problem?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.