Re: [xslt] XPath weirdness

 >  Sorry this is not obvious, I didn't see it.

Apologies for that.

 >> According to my common sense, that should give me the same output, but
 >> it doesn't.
 >Seems there is a difference first does $test[1] while the second does the
 >equivalent of ($test)[1] . You introduce a reordering of the node set
 >at the () level and picking the first element may generate a different

Removing the parentheses around the second version doesn't solve the
problem, though :( Adding parens in the first version doesn't solve
anything either.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]