Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
VMware vRealize Orchestrator Cookbook

You're reading from   VMware vRealize Orchestrator Cookbook Master the configuration, programming, and interaction of plugins with Orchestrator to efficiently automate your VMware infrastructure

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784392246
Length 382 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Daniel Langenhan Daniel Langenhan
Author Profile Icon Daniel Langenhan
Daniel Langenhan
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Installing and Configuring Orchestrator FREE CHAPTER 2. Optimizing Orchestrator Configuration 3. Visual Programming 4. Working with Plugins 5. Basic Orchestrator Operations 6. Advanced Operations 7. Working with VMware Infrastructure Index

Working with XML


In this recipe, we explore how to use the XML plugin to create and phrase XML structures with Orchestrator. XML is a good way to exchange complex information between systems.

Getting ready

We don't need anything special; however, we need to understand the basics of XML. Take a look at http://www.w3schools.com/xml/.

You should be familiar with the JavaScript concept of functions (see the introduction to this chapter).

How to do it...

This recipe is split into two parts; first, we create an XML document and then phrase an XML document.

Creating an XML document

This is the rather more complex part. However, we will go through it slowly:

We will create a simple XML document that looks like this:

<?xml version="1.0" encoding="UTF-8">
<MailMessages>
  <Mail>
    <From>test@test.net</From>
    <Subject>Test message</Subject>
    <Content Date="10/12/12">This is a test message</Content>
  </Mail>
</MailMessages>
  1. Create a new...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image