> -----Original Message----- > From: C. M. Sperberg-McQueen [mailto:cmsmcq@acm.org] > Supporting the first form would be as you describe, and > requires a check > for empty content, which is often (always?) complicated. (I.e. I > don't know how to do it in XSLT, and the way I have done it > in homebrew > systems is invariably a fairly ugly hack.) In XSLT it is no harder than the attribute check: loc[not(node())] loc[not(@href)] > Supporting the second seems simpler: print the content as is, and > if href is unspecified, then use the content as its value. I prefer this stylistically, as it is clearer what the displayed text should be. A stylesheet unaware of this feature would at least display the URI, instead of an zero-length link.Received on Tuesday, 11 July 2000 10:33:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:06:10 GMT