In the JUNOS world, we translate namespaces like this before the script is run, so you'll see:
ns junos = "http://xml.juniper.net/junos/*/junos";
where the literal character "*" has replaced the version number. While testing JUNOS scripts using libslax, you'll have to make that change in the input data yourself.
I'd like to see this appear as an option to the <rpc> but that work hasn't been done yet.
Thanks,
Phil