Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27511

Parsing HTML response in VB.net

$
0
0
Hey guys,

quick one - hope someone can help me out.

Am using VB to access a cloudstack API - the commands are all working fine, however the response i get back is:

Quote:

<?xml version="1.0" encoding="UTF-8"?><deployvirtualmachineresponse cloud-stack-version="4.2.1"><id>58246bf2-7e43-4834-9eb9-6fe19d849bd2</id><jobid>dcb8f6e9-517a-4bed-a122-60c5ff62701e</jobid></deployvirtualmachineresponse>
What i need to do is strip away the crap and just be left with this bit...

Quote:

<jobid>dcb8f6e9-517a-4bed-a122-60c5ff62701e</jobid>
Its not as simple as replace, as the other bits of text will be dynamic.

Any help appreciated!! :)

Thanks guys

Viewing all articles
Browse latest Browse all 27511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>