Arthur Rother arthur.rother at
Fri Jun 18 21:58:32 BST 1999


I once wrote a program for a company. The program's job was to fill a
container (an xml file with your kind of variables) with data. The user of
that program was given a table view of all variables and the user had to
optionaly specify a file containig the variables value, or just insert
data. Some other data was inserted automatically from a defaults file (also
xml file).

You need to have some kind of API, with which you can transform the
document and replace each occurrence of a variable element with your value.
I used MetaMorphosis (, free for linux, a demo for
windows, pay otherwise). I used MetaMorphosis, because I happen to work at
Ovidius. But I think, you can use any transformation language (maybe DOM),
that can do queries in multiple documents (I don't know, if XLT can do
that) to resolve the variables (This only, if you have the variables values
in some other xml file). I think, to formulate something like this,
MetaMorphosis is the quickest and easiest to do so, allthough you have to
learn a new language. 
So use MetaMorphosis or program this kind of traversal by hand use DOM.

Best regards, Arthur Rother
Ovidius GmbH 

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list