Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / name_conversion_extension_attrib_e.ttcn
1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator version: CRL 113 200/4 R3A
5 *
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *******************************************************************************/
11 //
12 // File: name_conversion_extension_attrib_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Fri May 29 12:00:20 2014
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - name_conversion_extension_attrib.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "name_conversion_extension_attrib/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
28 // Modified by:
29 // Modification date:
30 // Description:
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
34
35
36 module name_conversion_extension_attrib {
37
38
39 import from XSD all;
40
41
42 type record Ol_name_type
43 {
44 XSD.Integer allow_true_action
45 }
46 with {
47 variant "name as 'Ol-name-type'";
48 variant "element";
49 variant (allow_true_action) "name as 'allow-true-action'";
50 };
51
52
53 type record Ol_actions_type
54 {
55 XSD.Integer do_not_disturb,
56 record {
57 Ol_name_type announcement_name,
58 record {
59 XSD.Integer allow_true_action
60 } content optional
61 } play_segmented_announcement
62 }
63 with {
64 variant "name as 'Ol-actions-type'";
65 variant "element";
66 variant (do_not_disturb) "name as 'do-not-disturb'";
67 variant (play_segmented_announcement) "name as 'play-segmented-announcement'";
68 variant (play_segmented_announcement) "useNil";
69 variant (play_segmented_announcement.announcement_name) "name as 'announcement-name'";
70 variant (play_segmented_announcement.announcement_name) "attribute";
71 variant (play_segmented_announcement.content.allow_true_action) "name as 'allow-true-action'";
72 };
73
74
75 }
76 with {
77 encode "XML";
78 variant "namespace as 'name_conversion_extension_attrib'";
79 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
80 variant "elementFormQualified";
81 }
This page took 0.038483 seconds and 5 git commands to generate.