[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] AW: following-sibling::input and preceding-sibling::in
hi, as i understand it following-sibling just looks whats comes after the current element. it is not a node test yet but only the direction to look into. the node test then can be made as any other node test, in your case a test for input elements (i guess you mean element when saying type?). so following-sibling::input should just find *only* following sibling input elements. if you would look for other f-siblings too it would have to be following-sibling::* or whatever you are interested in. the same goes for preceding-sibling of course. chris > -----Ursprüngliche Nachricht----- > Von: Daniel Joshua [mailto:daniel.joshua@xxxxxxxxxxxx] > Gesendet: Montag, 21. Juni 2004 12:06 > An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Betreff: following-sibling::input and preceding-sibling::input > > > Hi all, > > Got a question regarding following-sibling::input and > preceding-sibling::input. > > Do they check if the immediate following/preceding sibling is of type > 'input'? > > If they do not, then how do I check if the immediate > following/preceding > sibling is of type 'input'? > > Sorry, I think I mis-read the documentation... > > > Regards, > Daniel > > > --+------------------------------------------------------------------ > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ > or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> > --+-- > >
|
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
|