You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by md...@us.britannica.com on 2000/07/28 19:05:23 UTC

testing for implied attributes in XSL

Hi all,

I'm trying to test for the existence of implied attributes.  Does anybody
know how to do this?  I need something like:

  <xsl:if test="descendant::article[!@title]">
    ...
  </xsl:if>

But that's just made-up syntax.  How would you do it for real?  How would I,
to follow this example, test for descendant "<article>" tags that _do not_
have a "title" attribute?

- Morgan Delagrange