/******************************************************************************
* Copyright (c) 2000-2021 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*   Balasko, Jeno
*   Szabo, Bence Janos
*
******************************************************************************/
//
//  File:          www_example_org_substitutiongroup_main.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Thu Oct 29 10:58:19 2014
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- substitutiongroup_main.xsd
//			/* xml version = "1.0" */
//			/* targetnamespace = "www.example.org/substitutiongroup/main" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module www_example_org_substitutiongroup_main {


import from XSD all;


import from www_example_org_substitutiongroup_ref all;


type record ComplexGroup
{
	Subsgroup_group subsgroup
}
with {
  variant "name as uncapitalized";
};


type union Subsgroup_group
{
	@default XSD.String subsgroup,
	Replace replace_
}
with {
  variant "untagged";
  variant (subsgroup) "form as qualified";
  variant (subsgroup) "abstract";
  variant (replace_) "name as 'replace'";
  variant (replace_) "namespace as 'www.example.org/substitutiongroup/ref' prefix 'this'";
};


}
with {
  encode "XML";
  variant "namespace as 'www.example.org/substitutiongroup/main' prefix 'A'";
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
}
