modify xml file
modify xml file
- Subject: modify xml file
- From: Jeramey Valley <email@hidden>
- Date: Mon, 11 Aug 2003 17:08:19 -0400
I need to modify one value in an xml file, and save the updated file.
So far, I don't see an easy way to do this, but perhaps I'm missing
something.
Specifically, I need to modify the user id (authname) in the system
preferences.xml file. I need non-Admin users to be able to do this so
they can enter their own dial up information while on the road. After
looking at the issue from several angles, modifying the file directly
appears to be my best choice.
So, I figure reading in the pref file, finding that value (see below)
and writing out the file would be my best choice. I'm having
difficulty in coming up with a clean way of performing this task.
<key>AuthName</key>
<string>MyUserID</string>
Alternatively, I'm not afraid to use the terminal in conjunction with
other tools/functions. However, I have not found a means to do this.
Any insights appreciated.
--
Regards,
Jeramey Valley
email@hidden
Network Administrator
H. H. Dow High School
Midland Public Schools
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.