How can i parse the message?
- From: "Eladr" <Eladr@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Jun 2005 01:17:02 -0700
i have a message in BTS which contains this xml:
<RESPONSE type="status">
<OBJECT type="itimexecstatus">
<ATTR type="itimstatus">Success</ATTR>
<ATTR type="itimmessage"></ATTR>
<ATTR type="itimrequestid">332348688569213909</ATTR>
<ATTR type="bpmid">1493@747</ATTR>
</OBJECT>
<OBJECT type="itimexecstatus">
<ATTR type="itimstatus">Success</ATTR>
<ATTR type="itimmessage"></ATTR>
<ATTR type="itimrequestid">332348688569213909</ATTR>
<ATTR type="bpmid">1493@748</ATTR>
</OBJECT>
</RESPONSE>
im doing loop to get each OBJECT node.
inside the expression im writing xpath to get the object node
xmlDoc =
xpath(MsgFromWS,"/*[local-name()='RESPONSE']/*[local-name()='OBJECT'][" +
StrCounter + "]");
My questions:
1)How can i modify the xpath so i will get the value of ATTR element with
the attribute "bpmid"?
2)Why cant i use this xmlDoc object to get the details like this?
for example:
XmlDocRes.SelectNodes("//OBJECT").Item(0).Attributes["someVal"].Value
it always "stuck" after item(0). and gives me "illegal dot name"
thanks
.
- Prev by Date: Re: Biztalk instance
- Next by Date: How can i do to read ntxtTransportDict ?
- Previous by thread: Biztalk instance
- Next by thread: How can i do to read ntxtTransportDict ?
- Index(es):