summaryrefslogtreecommitdiff
path: root/server/xml
diff options
context:
space:
mode:
authordeva <deva>2007-09-03 09:11:33 +0000
committerdeva <deva>2007-09-03 09:11:33 +0000
commita34402b79b38624a29ed8ea4e059af817266e6b8 (patch)
tree4df1d9a5756e37c304ddd8b58ed3e12c4a3894c1 /server/xml
parent27bc1afc3aa6e0b4465946aa870573499b85ae5d (diff)
Implemented the first version of the XML request. Fixed eXpat incompatability with XML_Get/SetUserData and the void* in the handler functions.
Diffstat (limited to 'server/xml')
-rw-r--r--server/xml/example.xml37
1 files changed, 18 insertions, 19 deletions
diff --git a/server/xml/example.xml b/server/xml/example.xml
index 03e2d59..f472bd0 100644
--- a/server/xml/example.xml
+++ b/server/xml/example.xml
@@ -1,19 +1,18 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<macro name="test_macro" cpr="1505050505" version="1.0" macro_version="1.0">
- <window name="mainwindow"
- caption="This is the mainwindow"
- width="800"
- height="600"
- layout="vbox">
- <include name="patient"/>
- <frame name="data_frame" layout="hbox">
- <label caption="Some field"/>
- <lineedit name="lineedit1" regexp="[0-9]+"/>
- </frame>
- <frame name="bottom_frame" layout="hbox">
- <spacer />
- <button caption="Close window" action="abort"/>
- <button caption="Commit changes" action="commit"/>
- </frame>
- </window>
-</macro>
+ <macro name="test_macro" version="1.0">
+ <window name="mainwindow"
+ caption="This is the mainwindow"
+ width="800"
+ height="600"
+ layout="vbox">
+ <include name="patient"/>
+ <frame name="data_frame" layout="hbox">
+ <label caption="Some field"/>
+ <lineedit name="lineedit1" regexp="[0-9]+"/>
+ </frame>
+ <frame name="bottom_frame" layout="hbox">
+ <spacer />
+ <button caption="Close window" action="abort"/>
+ <button caption="Commit changes" action="commit"/>
+ </frame>
+ </window>
+ </macro>