/******************************************************************************
* 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_type_conversion_follow.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Thu Aug  1 14:28:44 2014
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- type_conversion_follow.xsd
//			/* xml version = "1.0" encoding = "UTF-8" */
//			/* targetnamespace = "www.example.org/type/conversion/follow" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module www_example_org_type_conversion_follow {


import from XSD all;


type XSD.String E46
with {
  variant "name as uncapitalized";
};


type XSD.Integer E46_1
with {
  variant "name as 'e46_'";
};


type record E45
{
	XSD.String birthDateAttrGroup optional,
	E46_1 birthPlaceAttrGroup optional,
	E46_1 sd optional,
	E45_1 foo,
	XSD.String bar
}
with {
  variant "name as uncapitalized";
  variant (birthDateAttrGroup) "attribute";
  variant (birthPlaceAttrGroup) "attribute";
  variant (sd) "attribute";
};


type record E45_1
{
	XSD.String attr optional
}
with {
  variant "name as 'e45_'";
  variant (attr) "attribute";
};


type record Ss_1
{
	E45_1 sss
}
with {
  variant "untagged";
};


type E45_1 Ss
with {
  variant "name as uncapitalized";
  variant "element";
};


type record FoobarGroup
{
	E45_1 foo,
	XSD.String bar
}
with {
  variant "untagged";
};


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