check element type during schema validation

I am trying to implement an application to check to the type of each
element in xml document using Xerces-J, for example

type movie {
	title
	year
}

then <title> and <year> should have type of movie.

I think this information should be avaible during schema
validation. However, I found that Xerces PSVI doesn't not include it. Does
any body know whether Xerces has support to it?

Stephen

Received on Thursday, 9 January 2003 18:00:21 UTC