[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: xsl question
  • From: Esteban Pizzini <eplx2002@y...>
  • Date: Tue, 28 Sep 2004 12:17:10 -0300
  • User-agent: Mutt/1.2.5.1i

Hi,

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!
Esteban

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member