A client application must comply with XML and JUNOScript conventions. Each request from the client application must be a well-formed XML document; that is, it must obey the structural rules defined in the JUNOScript and JUNOS XML DTDs for the kind of information encoded in the request. The client application must emit tag elements in the required order and only in the legal contexts. Compliant applications are easier to maintain in the event of changes to the JUNOS software or JUNOScript API. Similarly, each response from the JUNOScript server constitutes a well-formed XML document (the JUNOScript server obeys XML and NETCONF conventions).
The following sections describe JUNOScript conventions: