Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - MIME/base64 encoded files in an XML document? [Thread Next] Re: MIME/base64 encoded files in an XML document?To: NULL Date: 5/1/2008 1:14:00 PM Adam M wrote: > I have a schema for XML docs in which I need to handle embedded binary files. > I defined it with mime/base64 encoding and am looking for advice about > whether this is the right approach to handle this: > <xs:element name="File" type="xs:base64Binary" minOccurs="0"> > <xs:annotation> > <xs:documentation>The attached file in MIME (base64) encoded > format</xs:documentation> > </xs:annotation> > </xs:element> That schema snippet looks all right to me. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
