[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Getting specs/standards right (was UPA and schema handling
> Once again, what is a critical use case in the "data" world is an > annoying hinderance to getting work done in the 'document ' world :-) > (and vice-versa, I'm not taking sides!). Actually, it's quite useful to be able to write an XSLT template rule that matches all "inline" elements; the more complex and extensible your schema becomes, the more useful this is; and the most complex schemas I have seen are in the "document" world. Doing this relies on associating types with elements. I think the notion that types are useful only in the "data" world is misguided. In fact, XSLT 1.0 patterns can be seen as an attempt at typing that provides a subset of the information you can get from schema processing, but leaves it entirely to the programmer to maintain consistency between the schema and stylesheet, which becomes more and more laborious as the schema grows. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|