Good article. This probably works for some cases but we need to use a lot of caution in taking this approach. (I haven't read the article in depth, yet). Well, IMO, any type of validation is basically to check if the data is valid for a particular business purpose. Thus we are extracting business rules and attempting to implement them in a Style Sheet. I, for one consider this as crossing boundaries. Keep the business rules where they belong. If the style sheet is the ONLY way in for the input data, maybe you can use this approach. But if the data is likely to come from more than one sources, then I wouldn't want to put them in the Style Sheet. Also, the fact that any change in the business rules will force a change in the style sheets. Hence, I am not a big fan of using style sheets for validation. My two cents worth...... - madhav
Take a Minute, Donate an Hour, Change a Life
posted 14 years ago
Notice the publishing date is 1999, one millennium ago! I'm not planning to read it.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads