- From: Jonathan Marsh <jmarsh@microsoft.com>
- Date: Tue, 11 Jul 2000 07:30:41 -0700
- To: "'C. M. Sperberg-McQueen'" <cmsmcq@acm.org>, "Eve L. Maler" <Eve.Maler@east.sun.com>
- Cc: "'spec-prod@w3.org'" <spec-prod@w3.org>
> -----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 UTC