figuring out if one tag was directly preceding by another

Subject: figuring out if one tag was directly preceding by another
From: Eric Taylor <Eric.Taylor@xxxxxxxxxxxx>
Date: Wed, 11 Oct 2000 15:09:59 -0500
Simplified, part of my XML looks like this:

   <para>here is some content<button.../> more optional content <link...
/></para>

My problem is that if there is nothing between button and link (i.e.,
<button.../><link... />) then I need to do something marginally different
than if there is intervening content.  Is there any way to identify when
processing the link template whether it was directly preceded by button.
Thanks  Eric


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread