[j-nsp] How to trim the text node of a specific element node in SLAX node-set?

Phil Shafer phil at juniper.net
Fri Nov 2 15:08:34 EDT 2018


Martin T writes:
>Thanks Phil! I wasn't aware of the mode statement. However, as I don't
>see a performance benefit, then solution in my initial e-mail looks
>bit simpler.

It always depends on the rules and the structure of the contents
you are converting, but when someone says "I want to traverse this
hierarchy looking for ...", then apply-templates/mode is normally
a pretty good answer.

Thanks,
 Phil


More information about the juniper-nsp mailing list