Re: [xsl] pattern matching possible?

Subject: Re: [xsl] pattern matching possible?
From: "George Cristian Bina" <george@xxxxxxx>
Date: Wed, 12 May 2004 19:58:36 +0300
Hi Hardy,


> For example, if I have app_name 'ABC' and I want to determine if there
> are any existing nodes that have app_names like 'ABC', or 'Abc', or
> 'abc', or 'aBC', etc.  

You can use the translate function like below:

<xsl:template match="application[translate(app_name, 'ABC', 'abc')='abc']">
 ...
</xsl:template>

Best Regards,
 George
-------------------------------------------------------------
George Cristian Bina mailto:george@xxxxxxxxxxxxx
<oXygen/> XML Editor - http://www.oxygenxml.com/

Current Thread