Hi
I have a XML file in which data is loaded from a relational table and the column names are tags in the xml file which is shown below.
... (8 Replies)
hi everyone,
I written one script that search all xml files and create one xml file, but I need to remove some duplicate nodes by testing one tag element.
</Datainfo>
<data>
<test>22</test>
<info>sensor value</info>
<sensor>
<sensor value="23"... (0 Replies)
Hello,
I have huge xml files and I need to replace only part of the data within a particular xml tag. This doesnt seem to be as simple as it sounds. I have searched everywhere and couldnt find any solution.
Ex:
In the below case I would like "def" to be replaced by "xyz" only when found in... (8 Replies)
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (2 Replies)
Hi
I am trying to extract data from within a log file and output format to a new file for further manipulation can someone provide script to do this?
For example I have a file as below and just want to extract all delimited variances of tag 32=* up to the delimiter "|" and output to a new file... (2 Replies)
I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help
File:
<xml><object1>house</object1><object2>child</object2>... (9 Replies)
In a huge log file (43MB, 43k lines) I am trying to extract data between two tag pairs on same line and export it to a file so I can pull it into Excel for a report.
One Pair is <Text>data I need</Text>
Other pair follows on same line and is <TimeStamp>more data I need</TimeStamp>
I would need... (2 Replies)
I am trying find files in sub dir with certain tags using tag command, and add the period to the beginning. I can't use chflags hidden {} cause it doesn't add period to the beginning of the string for web purpose. So far with my knowledge, I only know mdfind or tag can be used to search files with... (6 Replies)
Discussion started by: Nexeu
6 Replies
LEARN ABOUT CENTOS
slptool
SLPTOOL(1) User Commands SLPTOOL(1)NAME
slptool - SLP command line tool
SYNOPSIS
slptool [options] command-and-arguments
OPTIONS
options may be:
-v (or --version) displays the versions of slptool and OpenSLP.
-s (or --scope) followed by a comma-separated list of scopes.
-l (or --language) followed by a language tag.
-t (or --time) followed by a lifetime tag.
-i (or --interfaces) followed by a comma-separated list of interfaces.
-u (or --unicastifc) followed by a single interface.
command-and-arguments may be:
findsrvs service-type [filter]
findattrs url [attrids]
findsrvtypes [authority]
findscopes
register url [attrs]
deregister url
getproperty propertyname
EXAMPLES
slptool register service:myserv.x://myhost.com "(attr1=val1),(attr2=val2)"
slptool findsrvs service:myserv.x
slptool findsrvs service:myserv.x "(attr1=val1)"
slptool -i 10.77.13.240,192.168.250.240 findsrvs service:myserv.x
slptool -u 10.77.13.237 findsrvs service:myserv.x "(attr1=val1)"
slptool findattrs service:myserv.x://myhost.com
slptool findattrs service:myserv.x://myhost.com attr1
slptool -i 10.77.13.243 findattrs service:myserv.x://myhost.com attr1
slptool -u 10.77.13.237 findattrs service:myserv.x://myhost.com attr1
slptool deregister service:myserv.x://myhost.com
slptool getproperty net.slp.useScopes
slptool 2.0.beta2 May 2013 SLPTOOL(1)