cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Dzmura <...@digital-mission.com>
Subject Re: error testing attribute existence with for-each
Date Wed, 05 Apr 2000 00:22:07 GMT
Ed:

Thanks for the tip.  I also discovered that I was mistakenly using "selected" instead of "select"
as the attribute of the for-each...

Mark

> On Tue, 04 Apr 2000, you wrote:
> >
> > When I try to process the following XSLT, trying to test for the existence of an
attribute called
> > "selected" in the current node:
> >
> >     <xsl:for-each selected="./@selected">
>
> Try self::node()[@selected] instead.
>
> -ed
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org



Mime
View raw message