Skip to main content

Posts

Showing posts from April, 2013

Parsing XML with VMware Orchestrator

For my first blog I thought I would start with something easy - parsing XML using VMware Orchestrator (a.k.a vCO)!  I started playing with vCO in September 2012 for a "Cloud" project so I still consider myself a newbie - if you happen across this post and find something incorrect or something that could be done better then please don't hesitate to speak up. Since I can't post our actual XML, I'll be using the following XML which will give the gist of how to parse for elements & attributes. <?xml version="1.0" encoding="UTF-8" ?> <people>   <person firstname="Jack" lastname="Smith" age="40">     <phone type="home" number="1234567890" />     <phone type="cell" number="1234567891" />      <sport name="basketball" position="shooting guard" />   </person>   <person firstname="Jill" lastname=&