[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Hello and quick question
On Monday, January 6, 2003, at 06:53 PM, Corey Snow wrote: I can do something like: /ROOT/Client/Contacts/Contact[IsReferrer='0']/ContactFirstName but that returns a node-set, not a single node. I assume I need to do something with the position() function, but I'm not sure how to go about it.
(the [1] picks the first of whatever you're looking for, along the axis you specified in this case I guess that's the default axis, children. I think that position()=1 would be equivalent. but xpath has nice syntactic sugar :) simon --- www.simonwoodside.com 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
|