In iterative development, as developers code and test pieces, their strategy is reviewed by a wider audience for architectural validity and compliance with stakeholder needs.
Rather than split the numeric sequence into individual digits and write complex code, a regex can test for validity.
regex不会把数字序列分隔为单个数字并编写复杂的代码,而是会测试其有效性。
3
Then, you can use the XML to SQL wizard to unit test the XML document for validity before writing your code that will use the XMLToSQL run time library.
同时,您也可以在编写使用XMLToSQL运行时库的代码之前通过XML To SQL向导进行XML文档的单元测试。