/******************************************************************************
* Copyright (c) 2000-2025 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:
*   Szabo, Bence Janos
*
******************************************************************************/
//
//  File:          www_example_org_pref1.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Thu Sep 29 08:47:37 2015
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- www_example_org_pref1.xsd
//			/* xml version = "1.0" encoding = "UTF-8" */
//			/* targetnamespace = "www.example.org/pref1" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module www_example_org_pref1 {


import from XSD all;


import from www_example_org_pref2 all;


import from www_example_org_pref3 all;


type record MyElement_2
{
	MyAttribute myAttribute optional,
	MyAttribute2 myAttribute2 optional,
	XSD.Integer myField,
	www_example_org_pref2.MyType myField2,
	www_example_org_pref2.MyElement myElement,
	www_example_org_pref2.MyElement2 myElement2
}
with {
  variant "name as 'MyElement'";
  variant "element";
  variant (myAttribute) "name as capitalized";
  variant (myAttribute) "namespace as 'www.example.org/pref2' prefix 'ns2'";
  variant (myAttribute) "attribute";
  variant (myAttribute2) "name as capitalized";
  variant (myAttribute2) "namespace as 'www.example.org/pref2' prefix 'ns2'";
  variant (myAttribute2) "attribute";
  variant (myElement) "name as capitalized";
  variant (myElement) "namespace as 'www.example.org/pref2' prefix 'ns2'";
  variant (myElement2) "name as capitalized";
  variant (myElement2) "namespace as 'www.example.org/pref2' prefix 'ns2'";
};


type www_example_org_pref2.MyType MyElement
with {
  variant "element";
};


type www_example_org_pref2.MyType MyElement_1
with {
  variant "name as 'MyElement'";
  variant "element";
};


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