function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page StandardController="Account" recordSetVar="Accounts" contentType="text/xml" showHeader="false" sidebar="false" cache="false"> <?xml version="1.0" encoding="UTF-8" ?> <response> <apex:repeat value="{!Accounts}" var="eachAccount" > <Account id="{!eachAccount.id}" name="{!eachAccount.name}">& <apex:repeat value="{!eachAccount.contacts}" var="eachContact"> <Contact id="{!eachContact.id}" name="{!eachContact.name}" email="{!eachContact.email}"/> </apex:repeat> </Account> </apex:repeat> </response>
You could achieve it by making contenttype of your page text/xml
Like in this example:
Thanks
Shashikant