Andrew Keller schrieb dereinst (am 04.05.2007 18:19 Uhr) via [EMAIL PROTECTED]:
>> Its not XML, so no, it can't parse it. What format is it or where >> did it come from? > > I'm not exactly sure what format it is, however it is generated by > the the program /usr/bin/xgrid, which is Apple's command line client > app for xgrid. This is the old-school plist format and you can parse it with Property List Editor. Your example becomes: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>jobSpecification</key> <dict> <key>name</key> <string>progress demo 1</string> <key>taskSpecifications</key> <dict> <key>0</key> <dict> <key>arguments</key> <array> <string>agent app.pl</string> <string>-xgrid</string> <string>1</string> <string>10</string> </array> <key>command</key> <string>/usr/bin/perl</string> </dict> </dict> </dict> </dict> </plist> Cheers, Knut _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
