1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
4 * XSD to TTCN-3 Translator version: CRL 113 200/5 R2A
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 *******************************************************************************/
12 // File: www_example_org_generate_element_substitution_e.ttcn
17 // Updated: Mon Oct 19 09:34:07 2014
18 // Contact: http://ttcn.ericsson.se
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 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_example_org_generate_element_substitution {
42 type record ComplexEnum
44 XSD.Integer bar optional,
45 XSD.Float foo optional,
49 variant "name as uncapitalized";
51 variant (bar) "attribute";
52 variant (foo) "attribute";
53 variant (base) "untagged";
59 XSD.Integer bar optional,
60 XSD.Float foo optional,
61 XSD.String unitOfAge optional,
65 variant "name as uncapitalized";
67 variant (bar) "attribute";
68 variant (foo) "attribute";
69 variant (unitOfAge) "attribute";
70 variant (base) "untagged";
76 record of Head_group head_list
79 variant "name as uncapitalized";
81 variant (head_list) "untagged";
82 variant (head_list[-]) "name as 'head'";
93 //variant (member2) "block";
100 variant "namespace as 'www.example.org/generate/element/substitution' prefix 'this'";
101 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";