|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] display special html chars right with xsl
Hello, i´ve some kind of (newbie) problem... I already new, if i want to include a special char in the value of an element or of an attr. i need to write & instead of & and so on.. But how do I solve this problem: <help> <des> Math symbol for infinity </des> <symb> ∞ </symb> </help> This will cause an error, so I changed it to <help> <des> Math symbol for infinity </des> <symb> &infin; </symb> </help> No problem so far, if I display it with XSL ... <xsl:value-of select="des"/> <br> <xsl:value-of select="symb"/> ... RESULT: Math symbol for infinity ∞ But how is it possible to get the browser display the symbol for the second line, and not the text.. (I´m not completely sure how the parser works, but i need some kind of "tread_as_html_code function", like if I write a <br> or other html stuff direct in the xsl file.. Thanks Christian 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








