[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xpath question, getting last instance of element
On Tue, 25 Feb 2003, G. Ken Holman wrote: > (//DDD)[last()] > By putting the XPath expression in parentheses you are obtaining the set of > all DDD elements from the whole document. Then, applying the predicate to > the entire set, you end up with the last DDD. Had you not used parentheses > you would end up with the set of all DDD elements that are the last of > their sibling DDD elements. Ahh, it looks like I need to learn more before I start trying to help others :-) Thanks (and apologies for my earlier misleading reply), Piotr XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|