[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ¶meter= in XML to HTML transformation
stephan@xxxxxxxxxx wrote:
but the & would stay and & and not render to & You must have been misinformed. Legal? No. Required? Definitely not. Perhaps you meant that some browsers are tolerant about mistakes in HTML, because it is considered good practice by browser designers to "show what is likely that the html designer wanted to show, instead of showing nothing or an error". This HTML fragment: <a href="http://somesite.com/query?legal&no" >I am illegal</a> will be read correctly (but may switch on the quirks mode of your browser even if the rest is legal (X)HTML) and the link is clickable. Any HTML validator will dismiss it as containing errors. This HTML fragment: <a href="http://somesite.com/query?legal&yes" >I am legal</a> will be read correctly as well, will not switch to quirks mode (instead will remain in standards mode) and all available HTML validators will show "valid html". What makes matters worse is that many page design tools encode links incorrectly. And even some self proclaimed authorities on HTML forums claim that it is legal (or required) to code it like that. But try it out, hover your mouse over it, and you will find that you link miraculously works as if the '&' were an '&'. -- Abel
|
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
|