本文介绍了XDocument中的非空白区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我有以下xml,没有明显的空格,顶行位于页面顶部。I have the following xml, there are no obvious white spaces and the top line is at the top of the page. <? xml 版本 = " 1.0 " > < NewDataSet > < 表 > < LevelName > Corporate < / LevelName > < 度量 > 02/13/2009销售 < / 措施 > < Bob > 53,359 < / Bob > < Tom > 625,514 < / Tom > < Bill > 1,853,548 < / Bill > < Jane > 1,386 < / Jane > < / 表 > < / NewDataSet ><?xml version="1.0"?>  <NewDataSet>   <Table>     <LevelName>Corporate</LevelName>     <Measures>02/13/2009 Sales</Measures>     <Bob>53,359</Bob>     <Tom>625,514</Tom>     <Bill>1,853,548</Bill>     <Jane>1,386</Jane>   </Table> </NewDataSet>  推荐答案你是如何使用XDocument的?您能否发布该代码以便我们查看一下? 感谢一百万 IrinelHow are you using the XDocument? Can you please post that code so we can take a look?Thanks a millionIrinel 这篇关于XDocument中的非空白区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-26 03:05