You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Neil Blue <Ne...@denovopharma.com> on 2002/09/03 12:39:31 UTC

Checking referential integrity in with XMLSchema?

Hello,

I am using xerces to validate an XML document. I have an element that
contains a number, which records the number of elements expected within
another part of the XML. e.g.

<entries>
	<counts>
		<a-type-count>2<a-type-count>
		<b-type-count>1<b-type-count>
	</counts>
	<types>
		<a>2.3</a>
		<a>7.4</a>
		<b>9.8</b>
	</types>
</entries>

where the x-type-count records the number of expected entries in types. The
expected count may be incorrect and I would like to check for this case
using XMLSchema. Please could anyone tell me if there is a way to do this.

Thank you
Neil Blue

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org