/******************************************************************************
* 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:
*   Balasko, Jeno
*   Szabo, Bence Janos
*
******************************************************************************/
//
//  File:          www_example_org_import_prefix.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Thu Jul  2 12:23:27 2001
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- import_prefix_name.xsd
//			/* xml version = "1.0" encoding = "UTF-8" */
//			/* targetnamespace = "www.example.org/import/prefix" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module www_example_org_import_prefix {


import from XSD all;


import from www_example_org_imported all;


type www_example_org_imported.Foobar Foobar
with {
  variant "element";
};


type www_example_org_imported.Ding Ding
with {
  variant "attribute";
};


type record Valami_1
{
	www_example_org_imported.Ding ding optional,
	www_example_org_imported.Foobar foobar
}
with {
  variant "name as 'valami'";
  variant (ding) "name as capitalized";
  variant (ding) "attribute";
  variant (foobar) "name as capitalized";
};


type Valami_1 Valami
with {
  variant "element";
};


type www_example_org_imported.EntryType EntryTypeElement
with {
  variant "name as uncapitalized";
  variant "element";
};


type record EntryType
{
	record of XSD.String attr optional,
	XSD.AnyURI uri_entry,
	XSD.String display_name optional
}
with {
  variant (attr) "anyAttributes";
  variant (uri_entry) "name as 'uri-entry'";
  variant (display_name) "name as 'display-name'";
};


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