+ Start a Discussion

Read XML or Property File as static Resouce


Hi Expert,

Is it possible to attach a XML file or Property File as static Resouce and read it from Apex code?

I am also trying to work on this.
But could not resolve it.
I want to upload a xml document in static resources or my document and refer this in my apex class.
And want to create a custom object with the data in xml document.
I am able to take xml doc as a string and parse it.
But i want to get a xml document.
Can anyone help me out.
Thanks in advance,