Hi, I think this should be asked on xalan-j-user@zml.apache.org (XSLT questions) - there is far more people to ask.. > > > > name="location">/section/data/stuff > > > > > > > > > > > > > > > > ---- what's wrong; the "location" parameter is passed > correctly and can be debugged using a value-of > instruction, however if I want to use it within a > for-each, it isn't allowed for some reason - why? > I don't know it exactly, but I have had similar problem and this is what I think: for-each takes a 'node-set-expression' in atribute 'select', and it does it in one step -- so one and only thing is that '$location' is transformed into the parameter value ('/selection/data/stuff', in this case). There is an extending function node-set() (or similar, look at the spec.) in Xalan2. So: > > > > will return a node-set for your expression. It worked for me (but it was a time ago), so please check for details for yourself. I hope this will help you. Bye, Roman --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org