Re: [j-nsp] understand "version" and "ns"(namespace) statements in SLAX scripts

2015-12-24 Thread Phil Shafer
Martin T writes: >While I understand the idea of namespace in XML, then what is the >point of those statements in SLAX scripts? In addition, how does the >"version" statement work? The version statement indicates the version of SLAX being used. It also confirms that the input is in fact a slax

Re: [j-nsp] understand "version" and "ns"(namespace) statements in SLAX scripts

2015-12-23 Thread Tom Storey
According to libslax documentation, which is also the base of Junipers implementation, the version statement indicates the minimum SLAX language version required to run your script. You can find libslax documentation here: http://www.libslax.org/the-slax-language On 22 December 2015 at 20:50,

[j-nsp] understand "version" and "ns"(namespace) statements in SLAX scripts

2015-12-22 Thread Martin T
Hi, if I look the SLAX script examples in Juniper web-site, then almost all of those examples have "version" and multiple "ns" statements. For example: version 1.0; ns junos = "http://xml.juniper.net/junos/*/junos;; ns xnm = "http://xml.juniper.net/xnm/1.1/xnm;; ns jcs =