SNR VG-1000-8S [12/15] Introduce the policy xml file format

SNR VG-1000-8S [12/15] Introduce the policy xml file format
4. Introduce the policy xml file format
The policy is writed in xml format. XML stands for Extensible Markup Language, and was
designed to describe data.
4.1 Root element
The first line is the XML declaration. It defines the XML version. Now we open the policy
file
In this xml file, it’s encoded in “UTF-8”. The root element is: <provision version=”1.0”>
</provision>
And one atribute version is defined to stands for the version of provision. Now the value
can be 1.0 and 2.0. attribute’s value MUST be quoted.
Attribute
value
description
Version
1.0
Provision version 1
Version
2.0
Provision version 2
The provision version’s feature and their difference will be added in the future.
4.2 Product element
All elements can have sub elements (child elements). And product element is the child
element of root element, There can be more than one product elements under root elemet.
Product element is used to define a class of product with its attributes. And product element
supports the bellow attributes:
Скачать
Случайные обсуждения