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]

Keep it simple S...


Friends,
Sometimes I need to search for some characters that are usually part
of the syntax. I could not find a way to do this in Michael Kay's
book.

<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.

Can someone help me out? I have set up an automatic mail response for
thank you's to whomever responds so no one feels snubbed.

Sincerely,
Mike F.

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

 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]