ETSWebservices <FileContent> Node   
|


     
     

     When uploading files which contain XML Reserved characters  (' (single quote), " (double quote), < (less than), > (greater than), and & (ampersand) within the <FileContent> node,  enclose the content with CData tags.  Failure to encapsulate these characters in a CData Section will cause the uploaded file to fail .XSD validation.

Standard File Content with no XML Reserved characters:

 <Submissions>
     <SubmitterID>TSTMA</SubmitterID>
     <SubmitterPass>PASSWORDHERE</SubmitterPass>
     <Submission>
     <FormType>1500</FormType>
     <FileNameOld>standardfile.txt</FileNameOld>
<FileContent>Now is the time for all good men to come to the aid and Support of their country</FileContent>
<QuestionAnswer QuestionNumber="2">111</QuestionAnswer>
<QuestionAnswer QuestionNumber="3">111.00</QuestionAnswer>
</Submission>
</Submissions>

File with XML Reserved Chars.   The complete file content is enclosed within CData tags:

     <Submissions>
     <SubmitterID>TSTMA</SubmitterID>
     <SubmitterPass>PASSWORDHERE</SubmitterPass>
     <Submission>
     <FormType>834</FormType>
     <FileNameOld>extendedchars.txt</FileNameOld>
<FileContent>
<![CDATA["Now is the time for all good men to come to the Aid & Support of their country", so said the guy who is > the other guy]]></FileContent>
</Submission>
</Submissions>


     ValueOptions Inc. offers the ETSWebservice site, including all information, software, products and services available from the site or offered as part of or in conjunction with the site ("ValueOptions  ETSWebservice Site"), to you, the user, conditioned upon your acceptance of all of the terms, conditions, policies and notices stated in the Terms of Use.

ETS Home |Terms of Use | Privacy Statement