[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: ampersand character in xsl attribute?
> Is it true that it's impossible to have a stylesheet ouptut an "&" > character when inside an attribute? In general, the only way you can output ill-formed XML or HTML using the XML/HTML output methods is by using disable-output-escaping; and d-o-e is specifically not allowed for attribute nodes. So the answer is that it's almost impossible: the only way to achieve it is to output the entire start/end tag of the element using d-o-e. Fortunately, as the many previous instances of this thread have proved, that's not needed. Many previous askers of this question have been challenged to identify specific HTML clients that don't accept the correct escaped & form of a URL, and as far as I recall they have never come up with a credible example of such a product. It's an urban myth. Mike Kay 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
|