|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Variables
Hi, 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 (http://www.ovidius.com, 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@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








