Sebastien Sahuc ssahuc at
Thu Jun 17 23:08:36 BST 1999

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 :
			<variable name="address">

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:
		<address>street address value</address>

where street address value has replaced the 'variable' element.

Any comment ?

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