Einzelnen Beitrag anzeigen

bigg
(Gast)

n/a Beiträge
 
#16

Re: LightWeight XML-Unit gesucht

  Alt 24. Jan 2007, 18:46
Die Unit hatte ich vor einigen Jahren mal bei Torry entdeckt und es gibt sogar noch eine aktuellere Version:
http://www.torry.net/quicksearchd.ph...+xml&Title=Yes

PS: Die russischen Kommentare kann ich dir nicht mal ansatzweise übersetzen, aber eins ist sicher es ist freeware.

@Luckie: Die Notwendigkeit zur Verwendung von XML kann ich imho nicht erkennen:

Code:
[Administrator]
Fullname = ""
Description = ""
HomeDir = ""
ScriptPath = ""
CantChangePW = 0
AccountExpires = -1
MustChangePW = 0
AccountIsDeactivated = 0
AutoLogin = 0
IsAccountHidden = 0
Groups = "Debugger Users, Debuggerbenutzer, Administratoren"

[ASPNET]
Fullname = ""
Description = ""
HomeDir = ""
ScriptPath = ""
CantChangePW = 0
AccountExpires = -1
MustChangePW = 0
AccountIsDeactivated = 0
AutoLogin = 0
IsAccountHidden = 0
Groups = "Debugger Users, Debuggerbenutzer, Administratoren"

[GAST]
Fullname = ""
Description = ""
HomeDir = ""
ScriptPath = ""
CantChangePW = 0
AccountExpires = -1
MustChangePW = 0
AccountIsDeactivated = 0
AutoLogin = 0
IsAccountHidden = 0
Groups = "Gäste"

[Hilfeassistent]
Fullname = ""
Description = ""
HomeDir = ""
ScriptPath = ""
CantChangePW = 0
AccountExpires = -1
MustChangePW = 0
AccountIsDeactivated = 0
AutoLogin = 0
IsAccountHidden = 0
Groups = "Gäste"

[Michael]
Fullname = ""
Description = ""
HomeDir = ""
ScriptPath = ""
CantChangePW = 0
AccountExpires = -1
MustChangePW = 0
AccountIsDeactivated = 0
AutoLogin = 0
IsAccountHidden = 0
Groups = "Gäste"

[SUPPORT_388945a0]
Fullname = ""
Description = ""
HomeDir = ""
ScriptPath = ""
CantChangePW = 0
AccountExpires = -1
MustChangePW = 0
AccountIsDeactivated = 0
AutoLogin = 0
IsAccountHidden = 0
Groups = "Gäste"
Eigentlich ein Musterbeispiel, um mit INI's umzugehen...


PSPS: Solltest du dennoch bei XML bleiben, würde ich noch an der Lesbarkeit des Documents schrauben. Dies ließe sich erreichen, in dem du alle Attribute eines Schlüssels auch als Properties speicherst:

Code:
<Account name="XYZ" UserMustChPW="0" ... >
  Mit Zitat antworten Zitat