You might want to post a more complete sample of what you're doing, since the fragment you gave us seems to work fine when I tested it. Your XPath may be wrong, or there may be other issues in the stylesheet context in which this fragment is being executed, or you may be invoking Xalan incorrectly.
______________________________________ Joe Kesselman / IBM Research
