wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes XSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSL" Watch "XSL" New topic
Author

XSL

Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
I just wondering why XSL based validation is not so famous or not widely used ?
http://www.ascc.net/xml/en/utf-8/XSLvalidation.html
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
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
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Notice the publishing date is 1999, one millennium ago! I'm not planning to read it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSL
 
Similar Threads
XHTML issue
XML to WML
Transformation Problem For Arabic/French Character : HTML to XML
XSL to disply XML
Why do we use xml?