[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schema Design: no local elements with anonymoustypes
Michael Kay wrote: > The processor won't detect statically that $x/a/b/c is "impossible" unless > it knows that $x is an element whose complex type is a statically known type > T. And if $x is a parameter to a function, you can only achieve that if > either the element declaration or the type (or both) are global. > Yeah, but that basically means you pass globally declared elements or elements with globally declared types as parameters to functions to get that kind of static type checking. For XQuery, that's not usually a big hurdle. Is it for XSLT? Jonathan
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|