|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Why does using the XSL namespace default namespace
Trevor Nash wrote:
Yes, please, "Why" is exactly what i'm looking for.Because namespace-alias is used to swap one namespace for another. It has nothing to do with what prefix the XSLT processor uses in the output: you do not get any control over this, though most processors try to follow what is in the input. It is a feature of the namespace recommendation that the empty namespace cannot be associated with a prefix. I.e. you can say xmlns="" but not xmlns:null="". If you want the empty namespace in the output, then you have to reserve the default namespace for literal result elements. I guess somebody somewhere knows why? I suppose this is the most attractive approach. Thanks for the suggestion! As to the "perceived" part, don't you see this as a shortcoming? Personnaly I find such unnecessarily low signal to noise ratios mildly offensive. (Messy in life, anal retentive in code ;) It was one of the most off-putting things about xsl when we first met, an "Eww, gross" factor that kept me away for quite awhile. I've since become aclimated to xml, and, well, I see xsl as our only chance for a semantic web. I *have* to like it. aaron
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








