[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[no subject]

From: "Wilcox, Paul" <Paul.Wilcox@xxxxxxxxxxxxx>
Date: Thu, 23 Aug 2001 14:49:41 -0400
[no subject]

I have a node stored in a variable, and a list of element names.
The stored node is not the context node 

I need to find the node that meets these criteria:
1) name is in the list 
2) is an ancestor of the stored node.
3) is the closest (most direct)  ancestor of the stored node, from 
all ancestor nodes whose names (element names) are in the list, 


for example....say the variable NODE has a node stored in it, but this node
is not the context node.
FRONT and OPEN are the list of element names.
I want to find the closest ancestor to the node stored in $NODE, whose name
is either FRONT or OPEN.

can you use parent:: or ancestor:: on a node other than the context node?
Does anyone have any ideas on how i can do this?


Thanks

_________________________________________________________________

 <<...OLE_Obj...>> 
Paul Wilcox
Software Engineer
Global Knowledge and Language Services
XEROX
Phone #: 8*222-4727/(716) 422-4727
Email: Paul.Wilcox@xxxxxxxxxxxxx


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


Current Thread
  • [no subject]
    • Wilcox, Paul - Thu, 23 Aug 2001 15:02:29 -0400 (EDT) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.