Tutorial: How To Dynamically Generate an XML Document
Step 1 of 3    
 

If you haven't read the tutorial 'How to Create an XML Document the Easy Way' you might want to take a look at it first.

Sometimes you want to create a number of different documents with the same basic format but different content. That is, the names of elements and attributes are the same from document to document, but the values of those elements and attributes vary.

To create this sort of "dynamic document" you start with a standard static document...

 
 
 
 
 

Note: The sample code in this tutorial makes use of the Tectonic programming language
(featured in the Delve SOA Fast-Prototyping Toolkit)



   

Not sure exactly what the heck XML is? 
Get started with this
excellent wikipedia article:
> Click Here!

Want to learn
the XML basics? 

We recommend
great books like:
> "XML in a Nutshell"

> "XML Crash Course"
Sponsors
Our primary sponsor is Cretaceous Software: 
Check out Cretaceous Software products!
> Click Here

 

 
 

© Copyright 2007 All Rights Reserved. XML How-To (xmlhowto.org)