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(_dot_)joshua(_at_)gridnode(_dot_)com]
Gesendet: Montag, 21. Juni 2004 12:06
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: [xsl] 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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--