[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL Abbreviations
> I have a really quick question. What is the abbreviated > equivalent of: > > ../descendant-or-self::node()[generate-id(.) = $node] There is no syntactic abbreviation of this. > > The XPath docs say that '//' is equivalent to > 'descendant-or-self::node()', No, it's equivalent to '/descendant-or-self::node()/' in other words it can't be used if there are predicates > > What do I use to replace > the '*', as I don't want to select the children of '..'s > descendants, I want the descendants themselves. '.' doesn't work. > Sorry, you're not explaining yourself clearly. Mike K 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
|