获取XML节点
<h1>功能</h1>
<p>获取根节点下指定路径的节点。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>根节点</td>
<td>【TXml】xml的根节点变量</td>
<td>根节点(传入变量)</td>
</tr>
<tr>
<td>路径</td>
<td>【array of string】节点路径,从根节点下一级开始。以字符串数组样式,输入路径。</td>
<td>['student']</td>
</tr>
</tbody>
</table>
<h1>输出</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>节点</td>
<td>【TXML】输出获取的节点。</td>
<td>子节点(创建变量)</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.将【解析Xml】函数中的变量传入其中,作为跟节点的参数。
2.创建‘子节点’变量,将其传入【获取Xml节点值】函数中。
3.与【解析Xml】、【获取Xml节点值】函数搭配使用。</p>
<h1>相关函数</h1>
<p>【解析Xml】、【获取Xml节点值】函数</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/2f638dbbd5f98508c1ccce416ace8645" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/d4219c444fea929e873830a3365b5639" title="[组件[获取Xml节点函数示例]_20210408.db">组件[获取Xml节点函数示例]_20210408.db</a></p>