[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] encoding problem


Subject: RE: [xsl] encoding problem
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Mon, 12 Apr 2004 16:36:51 -0500

Hi Daniel,

If you define your output to be HTML, like this:

<xsl:output method="html" indent="yes"/>

the processor should know to process html, and might well be able to let the
'_' through, as is.

If you already have the output defined as html, then you could simply check
if the node text contains the '_' and replace this by '&#224;'; this will
output '&szlig;' which will show up as a '_' in the browser.

Let me know if any of this helps you in the right direction.

Cheers, Pieter

<prs/>
http://www.pietsieg.com
http://www.pietsieg.com/dotnetnuke
Contributor on www.ASPToday.com
Co-author on "Professional ASP.NET XML with C#", July 2002 by Wrox Press


Current Thread
Keywords
xml