Expand my Community achievements bar.

xml pdf questions

Avatar

Former Community Member
Trying to create a pdf from xml using asp<br /><br />I created the following code. The form appears without the field being populated. I went into designer pull up the pdf added some data and tried<br />to export the data as xml and xdp. The xml shows with no data. Trie to open xdp its say unable to locate template.<br /><br />Is this xml correct? (this is being used in designer to perform the <br />binding<br /><?xml version="1.0" encoding="UTF-8"?><br /><TextField1><value>Howard</value></TextField1><br /><br />After I have binded the field<br /><br />I use the following asp to display the pdf with<br />the one field filled in.<br /><br />Is this xml correct?<br /><br /><%<br />Response.ContentType = "application/vnd.adobe.xdp+xml"<br />response.write "<?xml version='1.0' encoding='UTF-8'?>"<br />response.write "<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>"<br />response.write "<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>"<br />response.write "<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>"<br />response.write "<xfa:data xfa:dataNode='dataGroup'>" <br />response.write "<form><TextField1><value><text>Howard</text></value></TextField1></form>"<br />response.write "</xfa:data>" <br />response.write "</xfa:datasets>"<br />response.write "<pdf href='http://159.83.96.138/prod/myFirstShot.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />"<br />response.write "<xfdf xmlns='http://ns.adobe.com/xfdf/' xml:space='preserve'>" <br />response.write "<annots/>" <br />response.write "</xfdf>" <br />response.write "</xdp:xdp>" <br />Response.Flush <br />Response.End <br /> <br />%>
0 Replies