Subject: RE: [xsl] output escaping (i just dont get it) From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Fri, 26 Oct 2001 14:54:45 +0100 |
> > So my real question is, why is the & 'legal' when passed as > an external > parameter, when it would obviously be illegal as an internal > param, ie: > <xsl:param name="heading">This & That</xsl:param> ?? > > I would have thought that all 'input' strings would have to > be well-formed > for the transformation to take place. The string passed as a parameter is a string, it isn't a piece of XML (it can't contain markup, and it doesn't get parsed). If it was XML, the "&" would need to be escaped using XML escape conventions (i.e. as "&"); but it isn't. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] output escaping (i just d, David Carlisle | Thread | RE: [xsl] output escaping (i just d, McKeever, Marty |
RE: [xsl] escaping from CDATA, Michael Kay | Date | RE: [xsl] Can't pass parameters acr, Hunsberger, Peter |
Month |