Home Products Consulting About Us White Papers Careers Contact Us Tutorials
 

 Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)

Tutorials - How To Create an XML Document the Easy Way
Page 3 of 4

Next we want to add a child element under the root vehicle element. This is accomplished using the “elementi” keyword.

 

 

Our “vehicle” document now defines a root node, consisting of a “vehicle” element instance and a “vehicle-type” element, which is a child of “vehicle.”

In this simple example, the element’s content consists entirely of a single chunk of text, “car,” but it can include any number of text strings and child elements. It can also include arbitrarily sophisticated logic that governs the content of the element—essentially, anything that can be done outside an “elementi” statement (Web service calls, persistence access, and so on) can be done within such a statement.


 Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
Previous Step  Next Step

Move On To Next Step - "Adding More Elements"

Go Back To Previous Step "Creating a Document Instance"

Read a Detailed Product Description

Read About Delve and XML Documents in Detail

Browse Product White Papers

 
Home Products Consulting About Us White Papers Careers Contact Us Tutorials