【发布时间】:2017-06-14 13:58:50
【问题描述】:
我需要使用 X Query 从 XML 中获取属性值。但是这个属性就像处理指令。那么如何处理这种部分呢?
Sample XML:
<root id="12">
<?test date="3/1966"?>
<?Names name="Anto. 17"?>
<title>AUDIT</title>
</root>
Expected output:
date = "3/1966"
【问题讨论】: