Question

8
Replies
436
Views
Close popover
Tarun Kumar Reddy Bolla (Tarun Bolla)
Infosys

Infosys
AU
Tarun Bolla Member since 2010 20 posts
Infosys
Posted: March 16, 2018
Last activity: November 6, 2018
Closed
Solved

Robotics [RDA] - Creating an XML document by scraping a website

Hi all,

I am trying to scrape a website which has a list of address cards. After the scraping is done, I need to send the data over to PEGA where I can parse it and display on UI. I would like to have the data transfer format as XML. So, I have tried 2 options

  1. Append all those string using some delimiters and later call a C# script component to parse that and build XML
  2. Use XML Builder [something like XMLDocumentComponent] to do the same.
    1. This would eliminate custom coding in favor of standards but I could not figure how to build the XML.
    2. I have tried using a Schema Provider on the XML component so that a proper structure will be defined before I start using it
    3. Then, using Create.Type method, I tried creating a child node for each address (from ListLoop component)
    4. Finally, I have tried reading the OuterXML but got nothing

Even though point 1 worked for now, I would really want that custom code to be eliminated if point 2 works. Please suggest...

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.