08-01-2001
If your on a unix platform, I assume you have perl?
type some search strings into the form
at
http://search.cpan.org
there might be a module/package to do what you want.
Stephen
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
can u please help me in converting any given XML file to flat file.
thanks in advance.
-bali (2 Replies)
Discussion started by: balireddy_77
2 Replies
2. Shell Programming and Scripting
Hi All,
I have a requirement where in i need to check for existence of a file and later execute some pmcmd commands related to informatica. I tried many ways but was unsuccessful could you please throw some light. Below are the sample codes i wrote.
Example 1:
#!/bin/ksh... (4 Replies)
Discussion started by: Ariean
4 Replies
3. Programming
Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Discussion started by: shafi2all
6 Replies
4. Shell Programming and Scripting
Hi,
I need to extract a oracle staging table to a flat file thru unix batch process.We are expecting more than 4million records in the table.I know I can do it using "UTL_FILE" .But,since "UTL_FILE" takes a lot of time I am looking for better options.Can any body suggest some better options?
... (3 Replies)
Discussion started by: Beena
3 Replies
5. Shell Programming and Scripting
Hello Friends,
I am new to UNIX shell scripting. Using bash....Could you please help me in converting a flat file into an XML style output file.
Flat file: (Input File entries looks like this)
John Miller: 617-569-7996:15 Bunting lane, staten Island, NY: 10/21/79: 60600
The... (4 Replies)
Discussion started by: humkhn
4 Replies
6. Shell Programming and Scripting
I have a file something like this:aaaa.xml content of the file is
0,<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<storeInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<s>
<BRANCH_NO>3061</BRANCH_NO>
<BRANCH_NAME>GREEN EXPRESS</BRANCH_NAME> ... (4 Replies)
Discussion started by: kmanivan82
4 Replies
7. Shell Programming and Scripting
I have a requirement to read the xml file and split the files into two diffrent files in Unix shell script. Could anyone please help me out with this requirement.
Sample file
---------------
0,<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Information... (3 Replies)
Discussion started by: kmanivan82
3 Replies
8. Shell Programming and Scripting
Hi Friends,
I want to convert a XML file to flat file.
Sample I/p:
<?xml version='1.0' encoding='UTF-8' ?>
<DataFile xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' contactCount='4999' date='2012-04-14' time='22:00:14' xsi:noNamespaceSchemaLocation='gen
.xsd'>
<Contact... (3 Replies)
Discussion started by: karumudi7
3 Replies
9. Shell Programming and Scripting
dear all,
i need your advice, i have xml file like this
input.xml
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<capture>
<atribut name="tmp_Filename" value="INTest.rbs"/>
<atribut name="size_Filename" value="INTest.rbs"/>... (2 Replies)
Discussion started by: zvtral
2 Replies
10. Shell Programming and Scripting
In xml file i have following data where some tags like<ChrgBr> may not be present in every next file.
So i want these values to be stored in some variable like var1="405360,00" , var2="DEBT" and so on
,but if <ChrgBr> tag has no value or is absent var2 should have space like var2=" " so
that i... (1 Reply)
Discussion started by: sandipgawale
1 Replies
LEARN ABOUT DEBIAN
virt-xml-validate
VIRT-XML-VALIDATE.IN(1) Virtualization Support VIRT-XML-VALIDATE.IN(1)
NAME
virt-xml-validate - validate libvirt XML files against a schema
SYNOPSIS
virt-xml-validate XML-FILE [SCHEMA-NAME]
DESCRIPTION
Validates a libvirt XML for compliance with the published schema. The first compulsory argument is the path to the XML file to be
validated. The optional second argument is the name of the schema to validate against. If omitted, the schema name will be inferred from
the name of the root element in the XML document.
Valid schema names currently include
"domain"
The schema for the XML format used by guest domains configuration
"network"
The schema for the XML format used by virtual network configuration
"storagepool"
The schema for the XML format used by storage pool configuration
"storagevol"
The schema for the XML format used by storage volume descriptions
"nodedev"
The schema for the XML format used by node device descriptions
"capability"
The schema for the XML format used to declare driver capabilities
EXIT STATUS
Upon successful validation, an exit status of 0 will be set. Upon failure a non-zero status will be set.
AUTHOR
Daniel P.Berrange
BUGS
Report any bugs discovered to the libvirt community via the mailing list "http://libvirt.org/contact.html" or bug tracker
"http://libvirt.org/bugs.html". Alternatively report bugs to your software distributor / vendor.
COPYRIGHT
Copyright (C) 2009-2010 by Red Hat, Inc. Copyright (C) 2009 by Daniel P. Berrange
LICENSE
virt-xml-validate is distributed under the terms of the GNU GPL v2+. This is free software; see the source for copying conditions. There
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
SEE ALSO
virsh(1), online XML format descriptions "http://libvirt.org/format.html"
libvirt-0.9.12.2 2014-01-11 VIRT-XML-VALIDATE.IN(1)