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]
Other format: [Raw text]

RE: Keep it simple S...


> <xsl:variable select="//C02/DID/UNITTITLE/PERSNAME/" name="$getit"/>
> <xsl:when name="contains($getit, '?')">
> <P><xsl:value-of select="$getit"/></P>
> </xsl:when>
> 
> [I am doing this off the cuff, since I am at home and my book and
> files are at work, so the syntax might not be right.]
> 
> I have typed ? but what I need to search for is " .
> 
> And I wonder if I needed to search for ' or some other like character
> how I would be able to do it.

<xsl:variable select="//C02/DID/UNITTITLE/PERSNAME" name="getit"/>
<xsl:if test="contains($getit, '&quot;')">
<P><xsl:value-of select="$getit"/></P>
</xsl:if>

Santtu

 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]