Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_generate_element_substitution_e.ttcn
CommitLineData
3abe9331 1/*******************************************************************************
2* Copyright (c) 2000-2015 Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator version: CRL 113 200/5 R2A
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_generate_element_substitution_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Mon Oct 19 09:34:07 2014
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - generate_element_substitution_e.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "www.example.org/generate/element/substitution/e" */
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module www_example_org_generate_element_substitution {
37
38
39import from XSD all;
40
41
42type record ComplexEnum
43{
44 XSD.Integer bar optional,
45 XSD.Float foo optional,
46 XSD.String base
47}
48with {
49variant "name as uncapitalized";
50variant "element";
51variant (bar) "attribute";
52variant (foo) "attribute";
53variant (base) "untagged";
54};
55
56
57type record Member2
58{
59 XSD.Integer bar optional,
60 XSD.Float foo optional,
61 XSD.String unitOfAge optional,
62 XSD.String base
63}
64with {
65variant "name as uncapitalized";
66variant "element";
67variant (bar) "attribute";
68variant (foo) "attribute";
69variant (unitOfAge) "attribute";
70variant (base) "untagged";
71};
72
73
74type record Ize
75{
76 record of Head_group head_list
77}
78with {
79variant "name as uncapitalized";
80variant "element";
81variant (head_list) "untagged";
82variant (head_list[-]) "name as 'head'";
83};
84
85
86type union Head_group
87{
88 XSD.String head,
89 Member2 member2
90}
91with {
92variant "untagged";
93//variant (member2) "block";
94};
95
96
97}
98with {
99encode "XML";
100variant "namespace as 'www.example.org/generate/element/substitution' prefix 'this'";
101variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
102}
This page took 0.029214 seconds and 5 git commands to generate.