Link to home
Start Free TrialLog in
Avatar of Rahamathulla_J
Rahamathulla_J

asked on

Construct xml file in memory

Hi,

I have to create a class which construct an xml file in memory (means not in a file) with tags and specific values and return that file to the calling method).

How can i do that?

ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rahamathulla_J
Rahamathulla_J

ASKER

Hi,

I want to construct this same like xml file in memory?

xml version="1.0" encoding="utf-8" ?>
- <BP>
- <Message status="CREATED" identifier="786">
  <origin>ata</origin>
  <reci>data</reci>
  <Type>8</Type>
  <CRC>crc</CRC>
  </Message>

  <original>1</original>

- <Sign>
  <data>F9</data>
  <Id>ICMS1_01</Id>
  <algo>01</algo>
  </Sign>
  </BP>