5 Jul 2008 13:18
Re: figures on inserted pages interrupting bibl
Brett Zamir <brettz9 <at> YAHOO.COM>
2008-07-05 11:18:46 GMT
2008-07-05 11:18:46 GMT
Hi, Sebastian Rahtz wrote: > Brett Zamir wrote: >> >> I'd be interested to hear for what practical purposes people are >> concerned with imposing a hierarchy in the first place. > In some cases, surely, the placement is part of the semantics. If we > have an element > called <trailer>, it would seem bizarre to allow it anywhere at all? > Yes, the TEI > may well be too restrictive in some places, I agree. Good point about it being tied in with semantics. But we can often the push the limits of semantics too. >> XSL can deal with templates recursively, so I shouldn't think that >> much of a problem. > hmm. you'd end up having a lot of giant <choose> statements in your > XSL allowing > for different structural situations, I suspect :-} I haven't been taxed much with the experience of going through those much yet, I'll admit, and I'm sure you'd know better than most. >> >> My sense is that there could become many more documents written in >> TEI (such as from those currently writing in XHTML) if the >> constraints weren't so high. In XHTML, very few hierarchical >> constraints exist, allowing authors to express their work and prepare >> documents readily, but it has a dearth of semantic richness. I wish >> it didn't have to be one or the other. > I don't think that particular argument holds up. HTML has _more_ > constraints than > TEI, in the areas where it is comparable; eg the maddening fact that > <ul> or <pre> cannot > occur inside a <p>. Outside of that issue which is admittedly big, I can't recall facing any other unnerving constraints. However, it is not at all a fair comparison, I know, since there are a whole lot more tags to mix and push to their limits (not to mention learn how to use correctly). Actually, there was also the XHTML Strict put-<div>s-around-everything-or-else blip which is similar, I think, to the <figure/> issue (which I still hope may have its placement options expanded). I'm sorry, though, if I sounded down on the vastly impressive TEI at all, if that's how it came out. I'll probably be grateful for most of the constraints once I finish dealing with validating our documents and tweaking stylesheets, etc. I guess what I'd really like to have are some practical examples of how tight constraints have helped them. Is it in the technical aspects of searching, or is it mostly just about stylesheets and the perceived correctness in tag semantics/pragmatics? Brett
RSS Feed