/******************************************************************************
* 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_unnamed_union.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Thu Aug  6 13:51:04 2015
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- element_in_all_mixed.xsd
//			/* xml version = "1.0" encoding = "UTF-8" */
//			/* targetnamespace = "www.example.org/unnamed/union" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module www_example_org_unnamed_union {


import from XSD all;


type record MyComplexElem_13
{
	record of XSD.String embed_values,
	record of enumerated {
		a,
		b
	} order,
	XSD.String foo optional,
	XSD.String a,
	XSD.Boolean b
}
with {
  variant "name as 'MyComplexElem-13'";
  variant "useOrder";
  variant "embedValues";
  variant "element";
  variant (foo) "attribute";
  //variant (b) "text 'true' as '1'";
  //variant (b) "text 'false' as '0'";
};


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