I have the following code in an XSLT fragment.

<xsl:for-each select="articles/article/[EMAIL PROTECTED] &gt;
    #dateFormat(dateAdd('m',-6,now()),'yyyymmdd')#]">
  <li><xsl:value-of select="." /></li>
</xsl:for-each>

This is working against an XML object that looks a bit like this.
<articles>
  <article id="">
    <title></title>
    <subtitle></subtitle>
    <content></content>
    <articledate dateVal=""></articledate>
  </article>
  <article id="">
    <title></title>
    <subtitle></subtitle>
    <content></content>
    <articledate dateVal=""></articledate>
  </article>
  <article id="">
    <title></title>
    <subtitle></subtitle>
    <content></content>
    <articledate dateVal=""></articledate>
  </article>
</articles>

This is correctly returning the nodes I want.  But I don't want to return the 
articledate node, I want to return the sibling title node.  Can anybody point 
me out how to select the value of a node up from the current node?  I have 
tried several things but nothing effective yet.




--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251545
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to