1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
/******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Balasko, Jeno
* Raduly, Csaba
*
******************************************************************************/
module AttribPath {
group G_up { // all members get variant "name as uppercased", unless overridden
type record pozicio {
float x, // with { variant "name as 'Horiz.' " }
float y,
float z
}
with {
//variant "name as "
variant (x) "name as 'width' ";
variant (y) "name as 'depth' ";
variant (z) "name as 'height' ";
}
type record length(3) of float vector
with { variant "list" }
type record length(3) of vector vector2
with {
variant "list"
variant "name as 'Vectra' "
}
}
with { variant "name as uppercased" }
type pozicio poz2;
type pozicio bigpoz with { variant "name as capitalized" }
group G_lo { // all members get variant "name as lowercased", unless overridden
type pozicio LOWpoz;
type vector LOWvec;
type vector2 LOWvec2;
type LOWpoz SMallpoz with { variant "name as uncapitalized" }
}
with { variant "name as lowercased" }
type record of charstring stringlist with { variant "list"; variant ([-]) "namespace as 'urn:foo:bar' " }
type record of universal charstring ustringlist with { variant "list"; variant ([-]) "namespace as 'urn:foo:bar' " }
}
with {
encode "XML"
}
|