X-definition
<xd:def xmlns:xd="http://www.xdef.org/xdef/4.2" name="Example" root="test"> <xd:ini name="test"> TRSUser = string(); finally outln("User: " + getText()); [User] Home = file(); finally outln("Home directory: " + getText()); Authority = enum("MANAGER", "CLIENT", "UNREGISTRED"); finally outln("authority: " + getText()); ReceiverSleep = optional int(1, 3600); /* default value is 10 */ [Server] %script = optional RemoteServerURL = url() SeverIP = ipAddr() Signature = SHA1() </xd:ini> </xd:def>
Input data
############# TRS configuration ############# # TRS user name TRSUser = John Smith [User] Home = D:/TRS_Client/usr/Smith # authority(SECURITY | SOFTWARE | CLIENT | UNREGISTRED) Authority=CLIENT [Server] RemoteServerURL=http://localhost:8080/TRS/TRSServer SeverIP = 123.45.67.8 Signature = 12afe0c1d246895a990ab2dd13ce684f012b339c
You can edit both
X-definition
and/or
Input data