I’m working on an XSL stylesheet for some XML encoded finding aids. At the detailed description level for the contents of the collection, I have some containers like so:
<container type="folder">1</container>
I need to select both the @type AND the number value in the container, however all I can manage to pull is the number. How should I structure my query to get folder 1?
If current node is container:
Input XML:
XSLT:
Output: