[
Lists Home |
Date Index |
Thread Index
]
- From: Sebastien Sahuc <ssahuc@imediation.com>
- To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
- Date: Thu, 17 Jun 1999 23:09:31 +0200
Hi there,
I'll be direct : Is there a way to insert Variable on XML document ?
What I have in mind look like 'every where you need to put a variable
you'll insert a 'variable' tag'.
Suppose for instance that you have the following XML :
...
<merchant>
<address>
<variable name="address">
</address>
...
</merchant>
...
Now, when you're processing the document, a context mechanism give the
value for any 'variable name'. That way the context mechanism resolve,
every time it see a 'variable' element, the value corresponding to the
name, so that at the, the document will look like:
...
<merchant>
<address>street address value</address>
...
</merchant>
...
where street address value has replaced the 'variable' element.
Any comment ?
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)
|