This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: passing through special characters


Mike Brown wrote:
> 
> Steve Morrison wrote:
> 
> > It's currently outputing: http://server.com/file?C=books&T=boston
> 
> Internally it should look like that, but when it is output using the HTML
> or XML output methods, it should be coming out as either
> 
> http://server.com/file?C=books&T=boston
> or
> http://server.com/file?C=books&T=boston
> 
> ...unless you have specified disable-output-escaping on xsl:value-of, or
> you're using SAXON and have used its equivalent for disabling output
> escaping on attributes. What XSL processor are you using? How exactly are
> you getting it to not escape the "&"?

I'm using transformiix. This only happens if I output an attribute, using
either attr="{$varname}" or <xsl:attribute>. This is really disturbing. Has
anyone else ran into this? Are there other ways to make an attribute? I can
wrap the string in a <![CDATA[]]>, but, that breaks people who want to use
this on other XSL processors.

-Steve


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]