Scherler, Thorsten wrote:
The value of the select attribute must be an XPath expression itself,
and it must evaluate into a node set. The first, {$expr}, is not a
valid XPath expression. The second, $expr, evaluates to the string
'date[date='Nov 28']',


is it parsed with '' or without? If without why it isn't valid? But I guess it will be parsed with '' and that's reason why it is not valid, right.

Eh? You assigned expr a string, which means the XPath expression $expr evaluates to a string. A string is not a node set, you can't apply templates to it. And it wont be evaluated recursively just because it is the string representation of another XPath expression. That's why you need exslt:evaluate().

J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to