/*******************************************************************************
* Copyright (c) 2000-2021 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: 7/CAX 105 7730 R2A
*
* 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
*******************************************************************************/
//
//  File:          schema_Pos_07060504_choice_with_nested_sequence_002.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Mon Jul 11 13:01:01 2016
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- Pos_07060504_choice_with_nested_sequence_002.xsd
//			/* xml version = "1.0" encoding = "UTF-8" */
//			/* targetnamespace = "schema:Pos_07060504_choice_with_nested_sequence_002" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module schema_Pos_07060504_choice_with_nested_sequence_002 {


import from XSD all;


type record MyType
{
	union {
		record {
			XSD.String foo,
			XSD.String bar,
			XSD.String ding,
			XSD.String foo_1,
			XSD.String bar_1
		} sequence,
		XSD.String ding
	} choice
}
with {
  variant "element";
  variant (choice) "untagged";
  variant (choice.sequence) "untagged";
  variant (choice.sequence.foo_1) "name as 'foo'";
  variant (choice.sequence.bar_1) "name as 'bar'";
};


}
with {
  encode "XML";
  variant "namespace as 'schema:Pos_07060504_choice_with_nested_sequence_002' prefix 'ns189'";
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
}
