xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] If a Character exists


Subject: Re: [xsl] If a Character exists
From: Spencer Tickner <spencertickner@xxxxxxxxx>
Date: Fri, 1 Apr 2005 07:36:49 -0800

Hi Pieter,

I knew there had to be a simple solution. Thanks a lot.

Spence

On Mar 30, 2005 4:30 PM, Pieter Reint Siegers Kort
<pieter.siegers@xxxxxxxxxxx> wrote:
> Hi Spence,
> 
> Use the function contains(value, substring). Result: true or false.
> 
> Cheers,
> <prs/>
> 
> -----Original Message-----
> From: Spencer Tickner [mailto:spencertickner@xxxxxxxxx]
> Sent: Wednesday, March 30, 2005 6:19 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] If a Character exists
> 
> Hi everyon, and thanks for the help again,, on what I thought would be a
> simple, simple problem.
> 
> All I need to do is test if a character (specifically a period) exists in a
> string
> 
> ie
> 
> <xsl:template match="AAA">
>     <!--- If a period exits -->
>     <p class="dindent"><xsl:value-of select="AAA"/></p>
>     <!-- If a period does not exist -->
>     <p class="indent"><xsl:value-of select="AAA"/></p> </xsl:template>
> 
> Sorry, it does seem like a really simple question, but google wasn't be good
> to me today.
> 
> Thanks for the help,
> 
> Spence


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor