OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   xsl question

[ Lists Home | Date Index | Thread Index ]


I'm trying to write a xsl script that counts all times an attribute contains some text
I use contain() and count(), but is it possible to count elements that contains some value??
I try somethins like this:
<xsl:if test="count(contains(document($ARCH_LNK_JJ)/Doc/Laes/JudDoc/Ref/@idproducto,$producto)) &gt; 0">

but I get an error... because contains returns a boolean value..

thank you!


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS