Sony Antony wrote:
If I run xalan directly I get the expected result
...
But if I give the -TS (Trace each selection event.) switch, I do not get
the text at all.
java org.apache.xalan.xslt.Process -L -TS -XSL b.xsl -IN a.xml
Selected source node '#document', at file
'file:///home/sony/xslt/a.xml', line #1, column #-1
(default root rule) apply-templates, select='null':
10001: #comment
10002: onne
Selected source node 'onne', at file 'file:///home/sony/xslt/a.xml',
line #3, column #-1
file:/home/sony/xslt/b.xsl Line #8, Column #-1: value-of, select='.':
10002: onne
<prefix></prefix>
<postfix></postfix>
I only see the prefix and postfix.
Why the differences in behavior.
This could be a bug. You should ask on the Xalan user list for confirmation,
perhaps look at Bugzilla whether this is already known:
http://nagoya.apache.org/bugzilla/query.cgi
(use XalanJ2 in the PRogram selection box)
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list