xsl-list
[Top] [All Lists]

Selecting attribute from previous parent node

2006-01-27 15:28:53
It's Friday!  Please, have pity upon me and save my sanity!

Say I have the following style of XML:

<row>
   <basket>
     <flower type="rose">
       <basket>
         <flower type="tulip">
           <basket>
              ...
           </basket>
         </flower>
       </basket>
     </flower>
   </basket>
</row>

If I'm at node "flower" with type of "tulip", how do I reference the
previous flower's type?


Thanks!

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--