OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Variables

[ Lists Home | Date Index | Thread Index ]
  • From: Arthur Rother <arthur.rother@ovidius.com>
  • To: Sebastien Sahuc <ssahuc@imediation.com>, XML-Dev Mailing list <xml-dev@ic.ac.uk>
  • Date: Fri, 18 Jun 1999 16:12:21 -0400


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@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)

  • References:
    • Variables
      • From: Sebastien Sahuc <ssahuc@imediation.com>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS