简体   繁体   中英

xsd truncate string C#

My program can generate a xml and this xml file must obey a xsd file. In the xsd file, most of the fields have length restriction. Is there a way to auto-truncate xml fields defined in xsd file?

这是不可能的,您将不得不在程序中实现它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM