New handler for the argument tag
The 1609 Sonnet has little marginal headings that we've designated as arguments, tagged with the <argument>
tag, and these were correctly marked with @rend
attributes containing float: left
or right
, but up to now I hadn't added any XSLT handlers to make them appear correctly on the site. I've now done that, and in the process we've added negative margin settings to the left-floating arguments to take them out of the way of the regular text. The right-floating ones are fine without any special handling. This is a mildly interesting issue -- should the @rend
attributes actually need to make such a distinction, or is this just a product of the XHTML document instance? This is almost too complicated to figure out, but I'm tending more and more to the opinion that CSS is more than adequate as a layout and description language, so the more simply we can pass it through to the XHTML output, the better. Ultimately we might be able to use pure XML+CSS, but of course then we wouldn't get any annotations or interactivity.