xsl-list
[Top] [All Lists]

RE: [xsl] Transforming xml to tex

2008-07-16 13:30:28


        > Has anybody an idea how I can get the first character after
the glossterm.

From your variable declarations, you appear to be in the glossterm
template.  If that is the case, the following should normalize space and
return the first character of the first text node following the context
node, if it exists.

substring(normalize-space(following-sibling::node()[1][self::text()]),
1, 1)

HTH,
Ryan

This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>