Tutorial: How To Dynamically Generate XML Elements
Step 2 of 3
Just as is the case with document instances, Tectonic lets you generate element instances simply by "calling" an element the same way you would a function. You can then produce complete XML text suing the elaborate operator and view that text using a "write" statement.
Once a parameter value is passed in, it can be placed in an element's content using the "tnwrite" keyword.
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!