|
Subject: [xsl] & in attribute value template From: Guy McArthur <guym@xxxxxxxxxxxxxxx> Date: Fri, 18 Oct 2002 23:29:04 -0700 (MST) |
Let's say I create an element like this:
<a href="{@href}">...</a>
And the value of href is something like "http://host?q=a&u=v".
Well, the actual output is <a href="http://host?q=a&u=v">...</a> which
does not validate.
Does it have to be something like this?
<xsl:element name="a"><xsl:attribute name="href"><xsl:value-of
select="@href" disable-output-escaping="yes"/></xsl:attribute></xsl:element>
--
Guy McArthur * email{guym@xxxxxxxxxxxxxxx}
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Process same template 2X?, Nirmala R | Thread | Re: [xsl] & in attribute value , Guy McArthur |
| RE: [xsl] Process same template 2X?, Nirmala R | Date | Re: [xsl] & in attribute value , Guy McArthur |
| Month |