You need to sign in to do that
Don't have an account?
Vivo
Problem with generating XML's
Hi, I am currently trying to create an XML template that gets downloaded when the user goes to the page. It works just fine if I don't use the '<?xml version="1.0" encoding="UTF-8"?>" text within the page. But when I do I get this error:
Error: XMLTest line 2, column 6: The processing instruction target matching "[xX][mM][lL]" is not allowed
Error: The processing instruction target matching "[xX][mM][lL]" is not allowed.
Is there anyway to make this work? It seems like some others had this problem a long time ago, but I couldn't find any solutions that worked.
<apex:page controller="xmlPage" contentType="application/octet-stream#Run.exml"><?xml version="1.0" encoding="UTF-8"?> <agentdriver> </agentdriver> </apex:page>
Hi Vivo,
Please follow the below link to resolve your problem:
http://boards.developerforce.com/t5/Visualforce-Development/Generating-an-XML-from-VF-page-using-ContentType/td-p/131288