Announcements
No record found.
Hi, I've a requirement where i need to convert a records into XML file and then save it into a stream. XML file has been generated correctly but i need to save it to stream. I've seen some blogs related to CSV, where CSV records save in container & then pass in streamTextIO.Write(Container). But unfortunately in XML format how can i save the XML file to container so the file could be save to stream. Anyone have any suggestion?
Regards,
Zohan
How do you create XML?
For example, System.Xml.XmlDocument class has Save() method accepting a stream object, therefore you can write it directly to a stream instead of saving it to a file and then loading this file again to a stream.
HI Martin,
Thankyou. It worked
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 415 Most Valuable Professional
CU10121822-0 374
André Arnaud de Cal... 365 Super User 2026 Season 2