You need to sign in to do that
Don't have an account?
giri rockzzzz
how to write xml in apex class??
i want to fill all account names in xml......how to write in xml ????
any one help..
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
i want to fill all account names in xml......how to write in xml ????
any one help..
You use the XmlStreamWriter to create XML easily. You may do something like the following:
The specific format depends on your DTD and so on, but this is the basic information. Please check http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf for more information.
what would the output of above looks like
I actually tested this code, and found out I made a mistake. Here's my revised code:
Here's an example output:
As you can see, it's quite easy to generate XML with this stream writer class.
Excuse me,, umm,, is that idea also possible with just reading/processing the xml tags?
Like what if I don't need to get any data from xml but would want the xml tags to be recognized?
Like this code for example:
- how would it look like if written in apex ?