xslt - How do I output line breaks from xsl:value of -


i have statement

xsl:value-of select="metadata/line1"/ 

where line1 in souce xml is:

microsoft windows 7 installed<br/&gt 

the html output turns out be:

microsoft windows 7 installed<br/> 

i want insert break after word installed instead of outputting literal <br/>

seems "unescape" xml content. if i'm right disable-output-escaping should help. try:

<xsl:value-of select="metadata/line1" disable-output-escaping="yes" /> 

e.g.: how unescape xml characters of xslt?


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -