Converting Domino view XML to hierarchical style
The view XML you get using ?ReadViewEntries is descriptive. The tree structure of view categories is maintained via position attribute, not via XML structure. I needed a view XML with tree structure to display a categorized Notes view in TreeView component in .NET. This is the XSLT that can do the trick. Simply transform your view XML with this XSLT, and you get a hierarchical XML. The first column value in the view entry is loaded into a "value" attribute, UNID is loaded into "unid" attribute.
Original source : http://www.openntf.org/projects/codebin/codebin.ns…