Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
hello
does someone want to help me for this one ?
i want to rename file by inversing parts of filenames separated by the delimiter "--"
sometimes filenames have three strings :
aabb4ccdd eeffgg -- 5566 -- aa78bb ccd eef gghhi.ext
to
aa78bb ccd eef gghhi --... (17 Replies)
Hi All,
I am trying to validate XMLs from a folder:
Input Directory having multiple XML files:
File1.xml
<Root>
<Parent>
<Child Name="One">
<Foo>...</Foo>
<Bar>...</Bar>
<Baz>...</Baz>
</Child>
<Child Name="Two">
<Foo>...</Foo>... (3 Replies)
I've got two different files and want to compare them.
File 1 :
HTML Code:
<response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record... (1 Reply)
Hi ,
I have a below xml:
<ns:Body>
<ns:result>
<Date Month="June" Day="Monday:/>
</ns:result>
</ns:Body>
i have a lookup abc.txtt text file with below details
Month June July August
Day Monday Tuesday Wednesday
I need a output xml with below tags
<ns:Body>
<ns:result>... (2 Replies)
Hello everybody,
I have a double mission with some XML files, which is pretty challenging for my actual beginner UNIX knowledge. I need to extract some strings from multiple XML files and create a new XML file with the searched strings..
The original XML files contain the source code for... (12 Replies)
Hello Everyone ,
Iam a newbie to shell programming and iam reaching out if anyone can help in this :-
I have two files
1) Insert.txt
2) partition_list.txt
insert.txt looks like this :-
insert into emp1 partition (partition_name)
(a1,
b2,
c4,
s6,
d8)
select
a1,
b2,
c4, (2 Replies)
Hello Gurus,
I have a requirement to split the xml file into different xml files.
Can you please help me with that?
Here is my Source XML file
<jms-system-resource>
<name>PS6SOAJMSModule</name>
<target>soa_server1</target>
<sub-deployment>
... (3 Replies)
I'm searching for the names of a TV show in the XML file I've attached at the end of this post. What I'm trying to do now is pull out/list the data from each of the <SeriesName> tags throughout the document. Currently, I'm only able to get data the first instance of that XML field using the... (9 Replies)
Discussion started by: hungryd
9 Replies
LEARN ABOUT DEBIAN
net::z3950::simple2zoom
Net::Z3950::Simple2ZOOM(3pm) User Contributed Perl Documentation Net::Z3950::Simple2ZOOM(3pm)NAME
Net::Z3950::Simple2ZOOM - Gateway between Z39.50 and SRU/SRW
SYNOPSIS
use Net::Z3950::Simple2ZOOM;
$s2z = new Net::Z3950::Simple2ZOOM("somefile.xml");
$s2z->launch_server("someServer", @ARGV);
DESCRIPTION
The "Net::Z3950::Simple2ZOOM" module provides all the application logic of a generic "Swiss Army Gateway" between Z39.50 and SRU. It is
used by the "simple2zoom" program, and there is probably no good reason to make any other program to use it. For that reason, this
library-level documentation is more than usually terse.
The library has only two public entry points: the "new()" constructor and the "launch_server()" method. The synopsis above shows how they
are used: a Simple2ZOOM object is created using "new()", then the "launch_server()" method is invoked on it to -- get ready for a big
surprise here -- launch the server. (In fact, this synopsis is essentially the whole of the code of the "simple2zoom" program. All the
work happens inside the library.)
METHODS
new($configFile)
$s2z = new Net::Z3950::Simple2ZOOM("somefile.xml");
Creates and returns a new Simple2ZOOM object, configured according to the XML file $configFile that is the only argument. The format of
this file is described in "Net::Z3950::Simple2ZOOM::Config".
launch_server($label, @ARGV)
$s2z->launch_server("someServer", @ARGV);
Launches the Simple2ZOOM server: this method never returns. The $label string is used in logging, and the @ARGV vector of command-line
arguments is interpreted by the YAZ backend server as described at http://www.indexdata.dk/yaz/doc/server.invocation.tkl
SEE ALSO
The "simple2zoom" program.
The "Net::Z3950::Simple2ZOOM::Config" manual for the configuration-file format.
The "Net::Z3950::SimpleServer" module.
The "ZOOM" module (in the "Net::Z3950::ZOOM" distribution).
AUTHOR
Sebastian Hammer <quinn@indexdata.com>
Mike Taylor <mike@indexdata.com>
COPYRIGHT AND LICENCE
Copyright (C) 2007 by Index Data.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
perl v5.12.4 2009-04-08 Net::Z3950::Simple2ZOOM(3pm)