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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Internal references to other element values



Hello,

Can you specify that the value of an XML element comprises the value of
another element in the same file plus another string for example? ie. Can
you specify in the XML document that the value of the subdirectory element =
value of the <map1> element plus the value specified. In other words, and
apologies in advance for the complete abuse of the notation, the
subdirectory element might look like:

<subdirectory><map1 value>abc\def</subdirectory>

but you see what I mean. Obviously this can be done using a style sheet but
this then impacts on maintenance of the actual document.

<config>
	<map1>bob</map1>
	<map2>mcbob</map2>
	<tasks>
		<task>
			<subdirectory>abc\def</subdirectory>
		</task>
		<task>
			<subdirectory>uvw\xyz</subdirectory>
		</task>
	</tasks>
</config>

Cheers
Ian



___________________________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
___________________________________________________________________________