I am trying to write a YANG file to capture an XML schema. I want to model an XML like the following.
`<stream>
<filter>
<type>inbuilt</type>
<attribute>a1</attribute>
<attribute>a2</attribute>
</filter>
<variables>anything</variables>
</stream>
`
I want the 'filter' element and its children to be present along with their values in all the XMLs generated. And the values should be constants. Is it possible with the current YANG modeling? I tried understanding the YANG specification, but I could never find a keyword for constants.