Hi...Iam new to InfoPath and XML.
I am looking at a requirement to programmatically extract data entered via
InfoPath. So far, I have a VBScript procedure that traverses the XML DOM
reading each node/element and extracting each node/element's text value.
The part I am having difficulty with is extracting any files that were
attached via an InfoPath "attachment" control.
Would anyone be able to point me to an example of code where the procedure
extracts a file (entirefile) that has been attached to the output .XML file
created by InfoPath?
Thank you ahead of time for your help!
S.Y.M. Wong-A-Ton - 05 Dec 2006 10:03 GMT
To my knowledge, this will be difficult to achieve using script. It is best
to use managed code to extract this information and do the conversion from
base64 encoded string. Sorry, I do not have any samples that could help, but
you can find more information on the control here:
http://blogs.msdn.com/infopath/archive/2004/03/18/92221.aspx
---
S.Y.M. Wong-A-Ton
> Hi...Iam new to InfoPath and XML.
>
[quoted text clipped - 10 lines]
>
> Thank you ahead of time for your help!