XSLT to process XML with very loose standards (EAD)
问题 I've been having a hell of a week trying to write XSLT code that can process XML documents that conform to the (very permissive) EAD standards. The useful information in an EAD document is hard to locate precisely. Different EAD documents can place the same bit of information in entirely different parts of the data tree. In addition, within a single EAD document, the same tag can be used numerous times in different locations for different information. For an example of this, please see this