hi,
I am creating an xml from salesforce database, Everything works fine except when there is a & in the data which is been fetched.
<apex:page contenttype="text/xml"
> controller="Test2ab" > <data
> wiki-section="Timeline"> <apex:repeat
> value="{!lsttask}" var="e" > <event
> start="{!e.ActivityDate}" title=
> "{!e.Subject}"> <apex:outputText
> value="{!e.Subject}" /> </event>
> </apex:repeat> </data></apex:page>
and in the controller i am just querying
> lsttask =[Select OwnerId,WhoId,Status,Subject,ActivityDate from Task where Status = 'Completed' Order By ActivityDate Desc];
How can i use an escape for the value retrieved from the database
Thanks
Prady