Re: statically known namespaces
> Why is it that XQuery has inbuilt namespaces such as "xs", but XSLT does not?
For all my arcane knowledge of XSLT, I don't think being able to recite the namespace by heart is something I can actually do. This is a bit of information scattered copiously throughout my brain-prostheses, but not securely stored in my actual head. Probably that'll bite me some day.
(Now, were I to have to remember and get it wrong, a really friendly processor would tell me not only that no stylesheet was available, but also what namespace it was looking for.)
I like that the binding isn't hard-coded. It makes it possible to switch prefixes around, which is sometimes useful and always a good lesson for XMLers, who need to understand at least the basics of namespaces.
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