cancel
Showing results for 
Search instead for 
Did you mean: 

Context data to xml visa-versa

Former Member
0 Kudos

Hi,

I have a requirement to create the xml file based on context data and in the later stages, I will be using this xml file to load the context data.

Please let me know if anybody has come accross with same scenario...I am working on CE 7. And please advice me which parser I need to use DOM or SAX.

Regards,

Patana

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You need to transfer data from context to a Java Bean Model.

/people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes

No need for EJBs. In the java bean model you can define business methods and in these methods you can use any parser methods to create\read\modify xml files.

You can try JDOM which is very simple to use. This link has a good example.

http://www.ibm.com/developerworks/java/library/j-jdom/

Regards

Srini

Former Member
0 Kudos

I am able to work on in without using any bean or anything. Closing the thread.