Easy for you to say... ??
Any idea how to do that?
If you're willing to dig your way through a few piece I can give you a starting place.
If you go to Strephon page in the Traveller wiki, you will note there are two sections that say "Click show to reveal". This will allow you to show/reveal sections of the page based upon a tag.
Then go to Common.js in the wiki. The section on collapsible tables has the relevant Javascript code. The core of the processing is to use the "element.style.display="none" or element.style.display=visible when a button is clicked.
I don't know enough XML and XSL off the top of my head to enable you to write a correct XSL to transform into HTML that the javascript will use.
The other thing you really need to do is look up CSS (Cascading Style Sheets) and how they work with XML on a compliant browser.
This should give a starting place, and a few ideas to start googling with if you can't otherwise get it to work.