[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT 2.0, using Schema-aware features
> Could someone indicate the best source of info describing this > workflow I don't know of any existing sources but no doubt people here could speculate on good practice. I think it depends a bit on how much you really want to use schema features. If you just want to validate input and result for example, I think it should be fairly easy to set up stylesheet defined functions or named templates that use validation, or don't depending on whether the engine is schema-aware, then in the rest of the stylesheet you can just use these functions without having explict schema-aware tests everywhere. If on the other hand you not only want to validate the input to check for correctness, but also want to annotate the input tree with type information and use that in template matching and to avoid explict casting when calling fuunctions (as the input already has the right type, such as a date type for example) then I think the only answer could be don't do that. A basic level processor not only can't call the schema validator, it's not allowed to use a type annotated tree from any source (whicle acting at that conformance level). David
|
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
|