Bug 3874: Support of yang modeled AnyXML - serialization XML/JSON
[yangtools.git] / yang / yang-data-impl / src / test / resources / anyxml-support / serialization / baz.yang
1 module baz {
2     namespace "baz";
3     prefix baz;
4
5     import yang-ext { prefix ext; revision-date 2013-07-09; }
6
7     container baz {
8         container my-container-1 {
9             leaf my-leaf-1 {
10                 type string;
11             }
12         }
13
14         container my-container-2 {
15             container inner-container {
16                 leaf my-leaf-2 {
17                     type string;
18                 }
19             }
20             leaf my-leaf-3 {
21                 type string;
22             }
23         }
24
25         anyxml my-anyxml-data {
26             ext:anyxml-schema-location "/baz/my-container-2";
27         }
28     }
29 }