-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexpressions.dtd
More file actions
26 lines (22 loc) · 873 Bytes
/
Copy pathexpressions.dtd
File metadata and controls
26 lines (22 loc) · 873 Bytes
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
<!-- DTD for libexpr Expression XML Format -->
<!-- This DTD defines the structure for arithmetic and boolean expressions -->
<!-- Root element containing multiple expressions -->
<!ELEMENT expressions (expression*)>
<!-- Individual expression with optional name and description -->
<!ELEMENT expression (operation)>
<!ATTLIST expression
name CDATA #IMPLIED
description CDATA #IMPLIED>
<!-- Operation element containing operands -->
<!ELEMENT operation (operand | operation)*>
<!ATTLIST operation
type (SUM|SUB|MUL|DIV|MOD|
EQ|NE|GT|GE|LT|LE|
AND|OR|XOR|NOT|
ABS|SIN|COS|TAN|
ASIN|ACOS|ATAN|
TEST|CHANGE) #REQUIRED>
<!-- Operand element with typed value -->
<!ELEMENT operand (#PCDATA)>
<!ATTLIST operand
type (integer|float|string) #REQUIRED>