W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

Algorithm for identifying the type of a given element

From: Martin Bernauer <m.bernauer@gmx.at>
Date: Wed, 10 Jul 2002 08:30:08 -0400 (EDT)
To: xmlschema-dev@w3.org
Message-ID: <18210.1026304173@www63.gmx.net>




When given 

a) an XML Schema document S, and 
b) an XML document plus an element E therein (e.g., by an XPath expression),


does anybody know an algorithm to determine the complex type of E as defined
by S? Or, if E does not have an according complex type, to determine the
complex type of the "nearest" ancestor of E that has an according complex type?

Kind Regards,
Martin Bernauer

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Received on Thursday, 11 July 2002 10:38:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC