[xsd-users] HexBinary

Falendysz, Gene Gene.Falendysz at itron.com
Mon Dec 16 08:23:07 EST 2013


Is there a way to suppress the leading "0"s in HexBinary? I am working to a spec that requires an even number of digits and at most one leading "0". As an example assuming HexBinary 32:
<MyVar>1234</MyVar> - ok
<MyVar>0123</MyVar>  - ok
<MyVar>123</MyVar>  - not acceptable
<MyVar>000123</MyVar>  - not acceptable
<MyVar>00000123</MyVar>  - not acceptable

[http://marketing.itron.com/campaign/ribbon_logo_rgb_81h.jpg]<https://www.itron.com/>

Gene Falendysz

Principal Design Engineer
Phone: +1.864.718.6676
Knowledge to Shape Your Future

[http://marketing.itron.com/campaign/social_media_icon_twitter29.jpg]<http://twitter.com/#!/itron>  [http://marketing.itron.com/campaign/social_media_icon_facebook29.jpg] <http://www.facebook.com/ItronInc>   [http://marketing.itron.com/campaign/social_media_icon_linkedin29.jpg] <http://www.linkedin.com/company/7550?trk=null>   [http://marketing.itron.com/campaign/social_media_icon_youtube29.jpg] <http://www.youtube.com/itronsmartmedia>


********************************************
This message may contain confidential, proprietary or
legally privileged information.  It is for the use of
the named recipient only, and access by anyone else is
unauthorized.  If you received this message in error,
please reply to that effect and delete this message.
********************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 20786 bytes
Desc: image001.jpg
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20131216/171b8d5f/image001-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1675 bytes
Desc: image002.jpg
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20131216/171b8d5f/image002-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 1586 bytes
Desc: image003.jpg
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20131216/171b8d5f/image003-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 1696 bytes
Desc: image004.jpg
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20131216/171b8d5f/image004-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 1656 bytes
Desc: image005.jpg
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20131216/171b8d5f/image005-0001.jpg


More information about the xsd-users mailing list