xsl-list
[Top] [All Lists]

Re: pattern matching possible?

2004-05-12 09:58:36
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(_at_)oxygenxml(_dot_)com
<oXygen/> XML Editor - http://www.oxygenxml.com/





<Prev in Thread] Current Thread [Next in Thread>