Update README.md
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_complex_e.ttcn
1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator
5 *
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *******************************************************************************/
11 //
12 // File: www_XmlTest_org_complex1_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated: Thu Nov 5 15:47:04 2009
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 //
22 // Generated from file(s):
23 //
24 // - XmlTest_complex1.xsd
25 // /* xml version = "1.0" */
26 // /* targetnamespace = "www.XmlTest.org/complex1" */
27 //
28 ////////////////////////////////////////////////////////////////////////////////
29
30
31 module www_XmlTest_org_complex1_e {
32
33
34 import from XSD all;
35
36
37 /* This documentum tests based on
38 XML Schema Part 0: Primer Second Edition,
39 2.3.2 Union Types
40 Appendix B
41 XML Schema Part 2: Datatypes Second Edition */
42
43
44 type record InternationalPrice
45 {
46 XSD.String currency optional,
47 XSD.Decimal base
48 }
49 with {
50 variant (currency) "attribute";
51 variant (base) "untagged";
52 };
53
54
55 }
56 with {
57 encode "XML";
58 variant "namespace as 'www.XmlTest.org/complex1_e' prefix 'ns'";
59 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
60 }
This page took 0.035229 seconds and 5 git commands to generate.