Home Products Consulting About Us White Papers Careers Contact Us Tutorials
 

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

Tutorials - How to Transform a Simple XML Document
Page 1 of 1

It’s often the case that we want to take the content embodied in one XML document and express in a different XML format. In this lesson, we’ll take a look at how to accomplish this with very simple documents.

Let’s suppose we want to take the following XML document, representing a student…

 

 

… and need to transform it into an HTML document suitable for display in a browser. We can do this by passing the “student” document instance into a new document called “html,” which contains the transformation logic.

 

 

In our example, this logic is straightforward. A table is constructued, and XPath is used to extract data elements from the student document, placing each data item in one of the table’s cells.


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

View Entire Code Sample

Read a Detailed Product Description

Read About Delve and XPath in Detail

Browse Product White Papers

 
Home Products Consulting About Us White Papers Careers Contact Us Tutorials