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: Matching attributes that contain both &pos; and "



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

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