[根据xml生成document]
<p><strong>方法签名:</strong> </p>
<p><code>createDocByXml(xml)</code></p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>根据xml字符串生成document对象</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">xml</td>
<td style="text-align: left;">String</td>
<td style="text-align: left;">XML结构的字符串</td>
</tr>
</tbody>
</table>
<p><strong>返回值说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">com.seeyon.v3x.dee.Document</td>
<td style="text-align: left;">Document对象</td>
</tr>
</tbody>
</table>
<p><strong>使用例子</strong></p>
<pre><code>String xml = &quot;&lt;root&gt;&lt;table&gt;&lt;row&gt;&lt;name&gt;yangyu&lt;/name&gt;&lt;/row&gt;&lt;/table&gt;&lt;/root&gt;&quot;;//xml格式的字符串
createDocByXml(xml);//生成document</code></pre>
<p><strong>输出结果</strong></p>
<pre><code>&lt;?xml version=1.0 encoding=UTF-8?&gt;
&lt;root&gt;
&lt;table&gt;
&lt;row&gt;
&lt;name&gt;yangyu&lt;/name&gt;
&lt;/row&gt;
&lt;/table&gt;
&lt;/root&gt;</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>无</li>
</ul>