读书人

SAX解析XML文档对于carriage return

发布时间: 2012-11-23 22:54:33 作者: rapoo

SAX解析XML文档对于carriage return,line feed,tab,space 处理过程:

SAX解析XML文档对于carriagereturn,line feed,tab,space 处理过程:

测试数据:

<A>

<B>

</B>

<B/>

<B> </B>

<B></B>

<B></B>

</A>

测试输出:

<A> xAx9

<B>xAx9

</B>xAx9

<B/> xAx9

<B>x20</B> xAx9

<B>x9</B> xAx9

<B></B> xA

</A>

注释:carriage return (#xD), line feed (#xA), tab (#x9) ,space(#x20)

SAX解析XML文档对于carriage return,line feed,tab,space 处置过程

读书人网 >XML SOAP

热点推荐