07-08-2016
How to change values in xml file?
Hi Rudi,
Yes, we can create xml file from scratch using data with my config file.
It's not possible to create the from scratch. I just need to update values in b/w the tags..
Please ask me the questions clearly. so that i can answer...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello People,
I have an xml file from which I need to extract the values of the parameters using UNIX shell commands.
Ex : Input is like :
<Name>Roger</Name>
or
<Address>MI</Address>
I need the output as just :
Roger
or
MI
with the tags removed.
Please help. (1 Reply)
Discussion started by: sushant172
1 Replies
2. Shell Programming and Scripting
Hi,
I am new to UNIX and shell scripting.
I have to create a shell script(ksh) which parses log4j.xml file for a given webservice name and change the corresponding value from INFO to DEBUG or vice-versa.
My log4j.xml looks like:-
<!-- Appender WEBSERVICENAME-->
<appender... (3 Replies)
Discussion started by: sanjeevcseng
3 Replies
3. Shell Programming and Scripting
Hello,
I don't have experience in this scripting and I need some help to read a value from an XML file and change it with a random number to use in simulator for different network scenarios.
</Description><sim_comm_rounds>35</sim_comm_rounds><num_clusters>1</num_clusters><Clocking>
I want to... (5 Replies)
Discussion started by: erhanasd
5 Replies
4. Shell Programming and Scripting
Hello I am a noob in XML and Python. I am trying to do this for my MSc project about a network simulation and need some help.... I want to change the values shown below:
<num_crash_failures>1</num_crash_failures>
−<crash_failure_entry>
<freeze_at_slot>0</freeze_at_slot>... (0 Replies)
Discussion started by: erhanasd
0 Replies
5. Shell Programming and Scripting
Hi,
I need to capture all the attributes with delete next to it. The source XML file is attached.
The output should contain something like this below:
Attributes = legacyExchangeDN
Action = Delete
Username = Hero Joker
Loginid = joker09
OU =... (4 Replies)
Discussion started by: prvnrk
4 Replies
6. Shell Programming and Scripting
Hi All,
I have two xml files.
One is having below input
<NameValuePair>
<name>Daemon</name>
<value>tcp:7474</value>
</NameValuePair>
<NameValuePair>
<name>Network</name>
<value></value>
</NameValuePair>
... (2 Replies)
Discussion started by: sharsour
2 Replies
7. UNIX for Dummies Questions & Answers
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (1 Reply)
Discussion started by: sravanreddy
1 Replies
8. UNIX for Dummies Questions & Answers
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (4 Replies)
Discussion started by: sravanreddy
4 Replies
9. Shell Programming and Scripting
Dear community,
I have a big XML log file containing several rows splitted by tag: <ActivityLogRecord> and </ActivityLogRecord>. An example below.
What I need is read the file and extract some value from each tags and put them into one line (each line for every <ActivityLogRecord> tag).
So... (5 Replies)
Discussion started by: Lord Spectre
5 Replies
IVMAN(8) System Manager's Manual IVMAN(8)
NAME
ivman - volume manager
SYNOPSIS
ivman [ -sd ] [ --nofork ] [ -c <directory> ]
DESCRIPTION
Ivman, or Ikke's Volume Manager, is a daemon to handle the mounting of media as they are inserted/attached to the system. It can also be
used to execute arbitrary commands when a device with certain properties is added to the system (Windows autoplay style functionality), and
to execute arbitrary commands when device properties change. Ivman uses HAL to monitor the state of your system's hardware.
OPTIONS
-s or --system
Start Ivman in system-wide mode. This is the default if running Ivman as root. When this option is specified, Ivman reads from the
system-wide configuration directory ( usually /etc/ivman/ ); if this option is not specified, Ivman reads from ${HOME}/.ivman/
instead. Either of these locations may be overridden with the -c option. Other behaviour may differ slightly when running in sys-
tem-wide mode. Don't use this option unless you know you need it.
--nofork
Force Ivman not to daemonize, regardless of settings in IvmConfigBase.xml. Useful for capturing debugging output.
-d or --debug
Force Ivman to give debugging output, regardless of settings in IvmConfigBase.xml.
-c <directory> or --confdir <directory>
Force Ivman to load configuration files from the specified directory.
DETAILS
Ivman is a flexible device manager, allowing users to run arbitrary commands when devices are added/removed, when device properties change,
and when devices emit conditions.
For automount purposes, Ivman should be run once from a system-wide init script and once per user session (e.g., create a link to
/usr/bin/ivman in ~/.kde/Autostart or put an entry for /usr/bin/ivman in gnome-session-manager). When a device is attached, Ivman will
call pmount or mount to mount the device. If pmount is used, it will mount the device readable and writeable only for the current user; if
no per-user instance of Ivman is running, the device will be mounted read/write for everyone in the same group as is required to use the
pmount command, and read-only for everyone else. If regular mount is used, then an fstab entry must exist in /etc/fstab for the device to
be mounted, and the settings given in that fstab entry will be used for the mount.
Ivman is supplied with sensible default configuration files for volume management, but autoplay functionality has no default actions; you
will need to edit ${HOME}/.ivman/IvmConfigActions.xml(5) or /etc/ivman/IvmConfigActions.xml(5) to specify some programs to execute. The
syntax of this file and the other Ivman configuration files are specified in their own manpages.
FILES
/etc/ivman/IvmConfigActions.xml
actions to perform when media is inserted
/etc/ivman/IvmConfigBase.xml
options affecting the running of Ivman
/etc/ivman/IvmConfigConditions.xml
actions to perform when devices emit conditions
/etc/ivman/IvmConfigProperties.xml
actions to perform when device properties change
SEE ALSO
IvmConfigActions.xml(5), IvmConfigBase.xml(5), IvmConfigConditions.xml(5), IvmConfigProperties.xml(5)
BUGS
Hopefully, none :-) But there could be some still lurking. If you encounter a bug, please forward details to rohan.pm@gmail.com or add it
to the bug tracker at the project's Sourceforge page, http://sourceforge.net/projects/ivman
9 December 2005 IVMAN(8)