|
3Java金币
我将一个XML文件转换成了一个字符串 我现在需要截取这个字符串中的一个子节点 需要如何做
下面就是这个xml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process name="1DS" displayName="1DS">
<start layout="104,209,50,50" name="start">
<transition offset="0,-10" to="inbound" name="path4"/>
</start>
<end layout="1030,202,50,50" name="end" postInterceptors="com.aisino.wms.tasks.service.end.EndInterceptor">
</end>
<task layout="263,211,100,50" name="inbound" displayName="inbound" taskType="Major" performType="ALL" clazz="com.aisino.wms.tasks.service.processer.InBoundProcessor"
methodName="getInstance" xmlFileName="1ds/1ds/00.xml">
<transition offset="0,-10" to="uplocator" name="path9"/>
</task>
<task layout="829,205,100,50" name="uplocator" displayName="uplocator" taskType="Major" performType="ALL"
clazz="com.aisino.wms.tasks.service.processer.UpLocatorProcessor" methodName="getInstance" xmlFileName="1ds/1ds/03.xml">
<transition offset="0,-10" to="end" name="path12"/>
</task>
<end layout="1026,431,50,50" name="end" postInterceptors="com.aisino.wms.tasks.service.end.EndInterceptor">
</end>
</process>
我现在需要截取Xml中 “xmlFileName” 子节点下的值 如何写
各位大神 帮帮忙 跪谢
|
|