On 26 Feb, 18:24, shashidhar.yarlaga...@gmail.com wrote:
> hi,
>
> hey! i am writing an XML Schema Defination where i got a sistutation
> in such way that i need to defina a tag that should hold binary data
> (ASCII data). How can i handle this sistutation? I mean what datatype
> i need to mention.
> i saw the base64Binary data type but it will not support all the ascii
> characters right? In this scenario can any one please give me a
> thought?
>
> Thanks much,
> Sha
hexBinary is another alternative. It's simpler than base64Binary, but
not as efficient. You can read about how they encode data at:
http://www.w3.org/TR/xmlschema11-2/#hexBinary
http://www.w3.org/TR/xmlschema11-2/#base64Binary
Refer to the referenced IETF RFC (
http://www.ietf.org/rfc/rfc3548.txt)
to find out how base64 is encoded.
HTH,
Pete Cordell
Codalogic
For XML C++ data binding visit
http://www.codalogic.com/lmx/