Highlighted

Repeating sub-form with XML data from aspx page

Avatar

Guest

02-07-2008

Hi,<br />I am doing a POC where I have a repeating subform in my Life cycle form.<br /><br />Now I want it to show data based on the XML that I have written, sample is below.<br /><br />My problem is that the sub-form does not repeat. Can you help me with this problem or if you can let me know your experience if this is possible that would be great.<br /><br />Thanks,<br />Manish<br /><br />strXML = "<?xml version='1.0' encoding='UTF-8'?>"; <br /> strXML = strXML + "<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>"; <br /> strXML = strXML + "<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>"; <br /> strXML = strXML + "<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>"; <br /> strXML = strXML + "<xfa:data>"; <br /> strXML = strXML + "<RepeatForm>"; <br /> strXML = strXML + "<emp>name</emp>"; <br /> strXML = strXML + "</RepeatForm>"; <br /> strXML = strXML + "<RepeatForm>"; <br /> strXML = strXML + "<emp>name1</emp>"; <br /> strXML = strXML + "</RepeatForm>"; <br /> strXML = strXML + "</xfa:data>"; <br /> strXML = strXML + "</xfa:datasets>"; <br /> strXML = strXML + "<pdf href='http://servername/projectname/filename.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />"; <br /><br />strXML = strXML + "</xdp:xdp>";