Click here to Skip to main content
15,920,503 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Help in Xpath Pin
Christian Graus12-Jul-05 13:36
protectorChristian Graus12-Jul-05 13:36 
GeneralRe: Help in Xpath Pin
satishrg13-Jul-05 8:29
satishrg13-Jul-05 8:29 
GeneralRe: Help in Xpath Pin
Christian Graus13-Jul-05 12:25
protectorChristian Graus13-Jul-05 12:25 
GeneralProblem msxml4.dll in IIS6 in windows 2003 server Pin
manuel.alvarez11-Jul-05 21:26
manuel.alvarez11-Jul-05 21:26 
Generaltrouble in spreadsheetML Pin
firebolt7711-Jul-05 0:21
firebolt7711-Jul-05 0:21 
GeneralHelp in Xpath Pin
satishrg8-Jul-05 9:32
satishrg8-Jul-05 9:32 
GeneralRe: Help in Xpath Pin
Javier Lozano11-Jul-05 8:58
Javier Lozano11-Jul-05 8:58 
GeneralRe: Help in Xpath Pin
satishrg12-Jul-05 4:27
satishrg12-Jul-05 4:27 
hi Javier,

I am using XmlDocument and the code something like this


XmlDataDocument xmlDoc=new XmlDataDocument();

xmlDoc.LoadXml(xml);


XmlNode xn=xmlDoc.SelectSingleNode("//ID");
Console.WriteLine("the value of the book is:"+xn.InnerText);


and the Xml file is some thing like this


<FAX>
<JOBID>1625603</JOBID>
<JOBNAME>Out1</JOBNAME>
<JOBSUBMITDATE>7/8/2005 4:27:03 PM</JOBSUBMITDATE>
<STATUS>
<ID>-1</ID>
<DESCRIPTION> Successfully Queued</DESCRIPTION>
</STATUS>
</FAX>


Actually this this Xml is part of the SOAP response so there are few more tags up and down but I need Only the <ID> and <Description> out if it

My questions are
1)Shall I filter the SOAP then process the XMl or Shall I directly send the SOAP response to the XMLDocument.Which is advisable.
2)I tried to parse the SOAP response(because it is also Xml) with XML Document and tried to retrieve the <ID> value as shown above.I am getting the runtime error.

Kindly suggest me so way for this.

Thanking you,
Satish.
GeneralRe: Help in Xpath Pin
Javier Lozano12-Jul-05 5:01
Javier Lozano12-Jul-05 5:01 
GeneralRe: Help in Xpath Pin
satishrg12-Jul-05 6:31
satishrg12-Jul-05 6:31 
GeneralRe: Help in Xpath Pin
DavidNohejl12-Jul-05 6:31
DavidNohejl12-Jul-05 6:31 
GeneralRe: Help in Xpath Pin
12-Jul-05 6:59
suss12-Jul-05 6:59 
Generaltroubles in making excel document using xml Pin
firebolt778-Jul-05 0:58
firebolt778-Jul-05 0:58 
GeneralUsing existing XSD with WebService Pin
Grimolfr7-Jul-05 15:49
Grimolfr7-Jul-05 15:49 
GeneralRe: Using existing XSD with WebService Pin
Javier Lozano11-Jul-05 9:02
Javier Lozano11-Jul-05 9:02 
GeneralRe: Using existing XSD with WebService Pin
Grimolfr12-Jul-05 6:12
Grimolfr12-Jul-05 6:12 
GeneralGetListItems in List web service and infopath Pin
Steven M Hunt7-Jul-05 3:45
Steven M Hunt7-Jul-05 3:45 
GeneralXML Binding with Java Pin
qadirchalla@yahoo.com6-Jul-05 7:53
qadirchalla@yahoo.com6-Jul-05 7:53 
GeneralRe: XML Binding with Java Pin
DavidNohejl6-Jul-05 10:23
DavidNohejl6-Jul-05 10:23 
GeneralRe: XML Binding with Java Pin
qadirchalla@yahoo.com6-Jul-05 11:04
qadirchalla@yahoo.com6-Jul-05 11:04 
GeneralRendering xforms in xslt Pin
korayyersel6-Jul-05 0:03
korayyersel6-Jul-05 0:03 
GeneralXML relational data Pin
Member 17770424-Jul-05 10:51
Member 17770424-Jul-05 10:51 
GeneralRe: XML relational data Pin
toujin4-Jul-05 14:06
toujin4-Jul-05 14:06 
GeneralRe: XML relational data Pin
Member 17770425-Jul-05 9:42
Member 17770425-Jul-05 9:42 
Generalhelp needed for parsing XML document Pin
satishrg1-Jul-05 9:04
satishrg1-Jul-05 9:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.