Open
Description
Some very simple XSL stylesheets are used to extract identifiers for various objects. They could be accomplished with lxml
in the Python routines, rather than having a stylesheet.
The one trick will be support for the -r
flag, which sets a subtree for the processing. It's hidden behind an import
and an xsl:apply-imports
. Perhaps lxml
has a nice routine for starting from some interior node.