1b9d3cd9c6738b9af93eb9e99159887dece83cf4
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_only_element_substitution_e.ttcn
1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator version: CRL 113 200/5 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: www_example_org_only_element_substitution_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Mon Nov 23 13:30:51 2014
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - only_element_substitution_e.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "www.example.org/only/element/substitution/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
28 // Modified by:
29 // Modification date:
30 // Description:
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
34
35
36 module www_example_org_only_element_substitution {
37
38
39 import from XSD all;
40
41
42 type RequestAbstractType_group RequestAbstractType1
43 with {
44 variant "name as uncapitalized";
45 variant "abstract";
46 variant "element";
47 };
48
49
50 /* Production implementation */
51
52
53 type record ProductionRequest
54 {
55 XSD.String commonName,
56 XSD.String productionName
57 }
58 with {
59 variant "name as uncapitalized";
60 variant "element";
61 };
62
63
64 /* Production implementation */
65
66
67 type record ProgrammingRequest
68 {
69 XSD.String commonName,
70 XSD.String programmingName
71 }
72 with {
73 variant "name as uncapitalized";
74 variant "element";
75 };
76
77
78 type union RequestAbstractType_group
79 {
80 record {
81 XSD.String commonName
82 } requestAbstractType,
83 ProductionRequest productionRequest,
84 ProgrammingRequest programmingRequest
85 }
86 with {
87 variant "untagged";
88 variant (requestAbstractType) "form as qualified";
89 variant (requestAbstractType) "abstract";
90 };
91
92
93 }
94 with {
95 encode "XML";
96 variant "namespace as 'www.example.org/only/element/substitution'";
97 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
98 }
This page took 0.050143 seconds and 4 git commands to generate.