I cannot reproduce your problem at all:
Try the following input document, for which it
does not work. I am not sure why.
I tried and it works OK, producing the expected results, using the same
xsltProc xslt processor.
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list