I see. I just wanted to point out that semistructured documents have a long history in law in particular, with some of the oldest text database in use. AFAIK, law firms were holding on to WordPerfect for a long time (and many are using it still) even when MS Word became the de-facto mainstream format, and WordPerfect has a rich history of structured, non-WYSIWYG editing, and could be converted to SGML as early as 1992. So I guess if the problem today is overuse of binary-only transport formats such as PDF, a discussion about representation of text in law should start with a look back, with a perspective on what's been lost (not to mention that a paged media format is probably not the way forward in 2019 or even 1999 for that matter).