summaryrefslogtreecommitdiff
path: root/testdata/xmlparser/generic.oxm
blob: 56a8745cf11f42a417f1ba2f83d608ed227d7d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!--<?xml version="1.0" standalone="yes"?>-->
<document a:bc="b">
	<head>
		<typesystem name="color">
			<types>
				<struct name="rgb"> <!-- Instance 1 -->
					<field name="r" type="double"/>
					<field name="g" type="double"/>
					<field name="b" type="double"/>
				</struct>
				<struct name="rgb"> <!-- Instance 2 -->
				</struct>
				<struct name="rgba" parent="rgb">
					<field name="a" type="double" default="0xf3"/>
				</struct>
			</types>
		</typesystem>
	</head>
	<body xmlAttr="blub">
		<!--<book>Dies ist ein Test&gt;</book>-->
	</body>
</document>