How should I process XLink references with lxml in python?
问题 I've been asked to write some scripts that read in XML configuration files that make liberal use of XLink to include XML stored in multiple files. For example: <Environment xlink:href="#{common.environment}" /> (#{common.environment} is a property placeholder that gets resolved first and can be ignored here.) The company has standardized on lxml for advanced XML processing in python. I've been looking for examples or docs on how to process these occurrences under these restraints and, at a