Re: Matching attributes that contain both &pos; and "

Subject: Re: Matching attributes that contain both &pos; and "
From: Paul_Dick@xxxxxxxxx
Date: Fri, 8 Sep 2000 10:50:38 -0400
David writes:
>but you can do match="xxx[.=concat('"',"'")]"

Yes,  the working template is a bear to decipher,  but it does work.
---XML Source ---
<channel>
  <location name=' "x"  &apos;a z'/>
</channel>

---XSLT ---
<xsl:template match="channel/location[@name=concat(' &quot;x&quot; ',&quot;
&apos;a z&quot;)]">
  <xsl:value-of select="@name"/>
</xsl:template>

Paul


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


Current Thread