[Home] [By Thread] [By Date] [Recent Entries]
At 05:31 AM 4/28/2005, you wrote:
It also increases the chances that the stylesheet will do something unwanted when the schema changes Unless your definition of "unwanted" considers that data being silently dropped is more unwanted than data passed through even to an invalid result.... (Not that there aren't third possibilities like trapping an exception in some way for unexpected input, for example by using xsl:message or any of a number of other techniques. But the point is, sometimes you'll be expressing and controlling tighter constraints over your output than over your input -- if you are validating your output you can rely on that to catch problems there; but validation processes can't usually see where data that was there, is now missing. So what's "unwanted" depends on the context. Or to put it another way, you're right -- and sometimes it's a good thing that your stylesheet does something unwanted.) Cheers, Wendell
|

Cart



