I spent several years working with the Marklogic[0] document database before NoSQL was cool and before I had even heard the term. It was incredibly freeing working with arbitrary XML documents and fragments. As a benefit we were able to transform data into HTML markup with a simple XSLT transformation.<p>You could create multiple views on the same data by just adding some logic to your XSLT or creating a new XSLT<p>Queries are(or were at least, it&#x27;s been many years) built in Xquery which is a simple, functional language that I found much easier to grok than SQL.<p>Since XML is just a tree and both XSLT and Xquery work on the trees quite well, advanced searching, sorting and relationship graphs came almost for free. I would gladly work with that stack, or something like it, again.<p><a href="http:&#x2F;&#x2F;www.marklogic.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.marklogic.com&#x2F;</a>