Hi all,

I have a simple xtags file that loops through all of the topics and keywords
in an xml help file.

My loop is:

<xtags:forEach select="/help/topic | /help/keyword">

Within this loop, I want to process topics different than keywords.  I
haven't been able to find a way to do this. I tried to do it by testing for
the existence of a child that only exists for a keyword, but the xtag:when
tag doesn't seem to accept wildcards in its test parameter, i.e.:

<xtags:forEach select="/help/topic | /help/keyword">
   <xtags:choose>
      <xtags:when test="keyword_file=*">
         ....
      </xtags:when>
      <xtags:otherwise>
         .....
      </xtags:otherwise>
   </xtags:choose>
</xtags:forEach>

Is there some way to do this?

Thanks!

-Richard


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to