Hello,
many thanks Abel and Ryan for your solutions. It works. It was not clear for
me that I could use following-sibling.
Next time I will be more chatty and describe the problem with all aspects as
Ryan mentioned.
Cheers
Michael
Abel Braaksma <abel(_dot_)online(_at_)xs4all(_dot_)nl> schrieb:
Ryan Graham wrote:
substring(normalize-space(following-sibling::node()[1][self::text()]),
1, 1)
Thanks, Ryan, this pinpoints a flaw in my attempt to answer the OP's
request: I test for any text sibling. Your code tests for the first
sibling being a text-node or not.
Michael, if you are about to use my code, don't forget to change my
following-sibling part with Ryan's one ;)
--~------------------------------------------------------------------
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>
--~--
--
Michael Obermeier
UNICO Media GmbH
Softwareentwicklung & Support
Aldringenstraße 4
80639 München
UNICO Media GmbH
Geschäftsführer Christian Fuchs
Amtsgericht HRB 116178
Sitz der Gesellschaft ist München
Tel. +49-(0)89-1893533-21
Fax +49-(0)89-1893533-11
--~------------------------------------------------------------------
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>
--~--