Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] If a Character exists

From: Spencer Tickner <spencertickner@--------->
To:
Date: 4/1/2005 3:37:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent