[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] entity output
Subject: [xsl] entity output From: "Craig Kattner" <CKattner@xxxxxxxxxxxxxx> Date: Thu, 12 Jun 2003 13:16:36 -0500 |
I have the following XML: <?xml version="1.0"?> <root> <test attr="Spring Wound "Bypass" Timers" /> </root> And the following XSL: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="UTF-8" /> <xsl:template match="/root/test"> <xsl:value-of select="@attr" /> </xsl:template> </xsl:stylesheet> The output of this is: Spring Wound "Bypass" Timers But what I need is: Spring Wound "Bypass" Timers I'm using MSXML4 for this. I've tried translate(), but not surprisingly, it doesn't work. Is there anyway I can get the output here to have the entity encoded quote (") instead of just a plain quote (")? Craig XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] doctype declaration and m, Wendell Piez | Thread | Re: [xsl] entity output, G. Ken Holman |
Re: [xsl] Statistics - Calculating , Dimitre Novatchev | Date | Re: [xsl] entity output, G. Ken Holman |
Month |