Now, this is different from what you requested in post#1, and it is not too clear to me what is actually requested. Given the .xml- file has EXACTLY the structure shown, how far would this get you? cf (cat files) shows the resulting files...
Hi,
I need to split xml-files with sizes greater than 2 gb into smaler chunks. As I dont want to end up with billions of files, I want those splitted files to have configurable sizes like 250 MB. Each file should be well formed having an exact copy of the header (and footer as the closing of the... (0 Replies)
hi all
i have a some huge html files (500MB to 1GB). Each file has multiple
<html></html> tags
<html>
.................
....................
....................
</html>
<html>
.................
....................
....................
</html>
<html>
.................... (5 Replies)
To split the files
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Test.xml
---------
<?xml version="UTF_8">
<emp: ....>
<name>a</name>
<age>10</age>
</emp>
<?xml version="UTF_8">
<emp: ....>
<name>b</name>
<age>10</age>... (11 Replies)
HI All,
I have to split a xml file into multiple xml files and append it in another .xml file. for example below is a sample xml and using shell script i have to split it into three xml files and append all the three xmls in a .xml file. Can some one help plz.
eg:
<?xml version="1.0"?>... (4 Replies)
Hi All,
I have more than half million lines of XML file , wanted to split in four files in a such a way that top 7 lines should be present in each file on top and bottom line of should be present in each file at bottom.
from the 8th line actual record starts and each record contains 15 lines... (14 Replies)
Hi ,
I have a XML file like below
file name : sample.xml
<?xml version="1.0"?>
<catalog>
<author>Rajini</author>
<title>XML Guide</title>
<Text> </Text>
<genre>Computer</genre>
<price>44.95</price>
</catalog>
<?xml version="1.0"?>
<catalog>
... (5 Replies)
Hi Everyone,
I'm new here and I was checking this old post:
/shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html
(cannot paste link because of lack of points)
I need to do something like this but understand very little of perl.
I also check... (4 Replies)
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
I have a text file that looks like this:
FIELD1, FIELD2, THIS IS FIELD3, FIELD4
FIELD1, FIELD2, THIS IS FIELD3, FIELD4
FIELD1, FIELD2, THIS IS FIELD3, FIELD4
I need it to turn it into an XML file to run against a custom application. My ultimate goal is for it to look like... (15 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)
Discussion started by: Siv51427882
3 Replies
LEARN ABOUT LINUX
dh_installxmlcatalogs
DH_INSTALLXMLCATALOGS(1) Debhelper DH_INSTALLXMLCATALOGS(1)NAME
dh_installxmlcatalogs - install and register XML catalog files
SYNOPSIS
dh_installxmlcatalogs [debhelper options] [-n]
DESCRIPTION
dh_installxmlcatalogs is a debhelper program that installs and registers XML catalog files. It complies with the Debian XML/SGML policy.
The file debian/package.xmlcatalogs lists the local XML catalog files to be installed per package as well as the XML entities in those
local XML catalog files that are to be registered in the XML catalog system.
The local XML catalog file entries in that file should be of the form "local;source;dest", where the verbatim "local" indicates this is an
entry for a local XML catalog file, "source" indicates where the local XML catalog resides in the source tree, and "dest" indicates the
destination location for the local XML catalog under the package build area. "dest" should start with /usr/share/xml/.
The entries for the XML entities to be registered in the package XML catalog file should be of the form "package;type;id;catalog", where
the verbatim "package" indicates this is an entry for an XML entity to be registered in the package XML catalog file, "type" indicates the
XML entity type (public, system, uri), "id" indicates the XML entity id, and "catalog" indicates the local XML catalog file.
The entries for the XML entities to be registered in the root XML catalog file should be of the form "root;type;id", where the verbatim
"root" indicates this is an entry for an XML entity to be registered in the root XML catalog file, "type" indicates the XML entity type
(public, system, uri), and "id" indicates the XML entity id.
If an entry for is to be registered identically in the root catalog and the package catalog file, you can use the form
"root-and-package;type;id;catalog", where the verbatim "root-and-package" indicates this is an entry for an XML entity to be registered in
both the root and package XML catalog files, "type" indicates the XML entity type (public, system, uri), "id" indicates the XML entity id,
and "catalog" indicates the local XML catalog file.
XML entity types are described in update-xmlcatalog(8). Using the "root" or "package" commands, a type of "public" will general
"delegatePublic" statements in the applicable catalog file. Generally you will want to use the types "public" for any formal public
identifiers, and "system" for any files on the local filesystem or URLs. "uri" is only used for non-local files which are not part of the
external document subset, e.g., they are not used for entities or DTDs.
dh_installxmlcatalogs automatically adds maintainer script snippets for the registration and unregistration of the listed XML entities in
the XML catalog system (unless -n is used). A dependency on the xml-core package will be added to "${misc:Depends}", so be sure to use
that variable in the file debian/control. See dh_installdeb(1) for an explanation of Debhelper maintainer script snippets.
OPTIONS -n, --noscripts
Do not modify postinst/postrm/prerm scripts.
NOTES
Note that this command is not idempotent. "dh_clean -k" should be called between invocations of this command. Otherwise, it may cause
multiple instances of the same text to be added to maintainer scripts.
SEE ALSO debhelper(7)
/usr/share/doc/xml-core/
AUTHOR
Ardo van Rangelrooij <ardo@debian.org>
Adam Di Carlo <aph@debian.org>
perl v5.10.0 2008-10-14 DH_INSTALLXMLCATALOGS(1)