qnames

How can I find all elements in an XML Schema whose value is specified as a QName?

主宰稳场 提交于 2019-12-13 07:36:05
问题 Suppose that... I have a complex XML schema, one that imports/includes other schema files, which in turn import/include even more schema files. I want to find all the elements in this XML schema that have a value (i.e., text node) that is declared to be of type QName. I want the location (path) of these elements to be expressed as XPath statements (e.g., /foo/bar). If I'm writing a Java application, what's the right technology for this job? Is it a schema object model like XSOM? Is it the