这是我的示例文件:
<?xml version="1.0" encoding="UTF-8" ?>
<testjar>
<testable>
<trigger>Trigger1</trigger>
<message->2012-06-14T00:03.54</message>
<sales-info>
<san-a>no</san-a>
<san-b>no</san-b>
<san-c>no</san-c>
</sales-info>
</testable>
</testjar>
我需要从中提取xml标签-
例如上述文件的输出应该是
testjar
testable
trigger
message
sales-info
....