输入XML
<all>
<row>one</row>
<row>two</row>
<row>three</row>
<all>
实际输出
"<row>", "one"
"<row>", "two"
"<row>", "three"
指望输出
"<row>","one"
"<row>","two"
"<row>","three"
您使用错误的命名空间作为序列化选项,正确的代码将为
declare namespace output ="http://www.w3.org/2010/xslt-xquery-serialization";
declare option output:method "text";