HI guys,
I have created a script to read 1 column in a csv file and then place it in text file.
However, when i checked out the text file, it is not in a column format...
Example:
CSV file contains
name,age
aa,11
bb,22
cc,33
After using awk to get first column
TXT file... (1 Reply)
Hi,
I was trying some split command to pull out values like "uid=abc,ou=INTERNAL,ou=PEOPLE" into a csv file. However because of erratic nature of occurrance of rows made me stopped. Could someone help me in this? and if someone has a one liner for this?
The text file contain pattern like this... (14 Replies)
HI All,
I have a text file memory.txt which has following values.
Average: 822387 7346605 89.93 288845 4176593 2044589 51883 2.47 7600
i want to convert this file in csv format and i am using following command to do it.
sed s/_/\./g <... (3 Replies)
Hi,
I need to parse text, xml files to get the statistic numbers and prepare summary csv file.
What is the best way to parse these file and prepare csv file.
Any idea you have , please?
Regards, (2 Replies)
Hi - I am looking to convert the following text to csv. The columns may not always have data in them and they may have varying spaces but I still need to have a comma there anyway:
Sample Data:
~~~~~~~
Name Email Location Phone
Tom... (4 Replies)
Hi!
I need to realize this task.
In folder i have such files:
name1.txt
name1.pdf
name2.txt
name2.pdf
etc...
I want to scan this folder, match files with same name (name1.txt with name1.pdf, name2.txt with name2.pdf) and create files name1.xml and name2.xml, based on it. i.e:
i want... (13 Replies)
hi..
I have a text file which looks likes this
2258
4569
1239
258
473
i need to convert it into comma seperated format
eg:2258,4569,1239,258,437
pls help (8 Replies)
Hi people. I've finally converted to linux, and I'm starting to explore the amazing capabilities of the terminal. At the moment in trying to learn how to extract text using the "grep" and "sed" command. I decided to learn by trying to figure out how to solve a practical problem. I have a schedule... (4 Replies)
I have a table as following
Archive id Line Author Time Text
1fjj34 3 75jk5l 03:20 this is an evidence regarding ...
1fjj34 4 gjhhtrd 03:21 we have seen those documents before
1fjj34 10 645jmdvvb 04:00 Will you consider such an offer?... (0 Replies)
Hi,
I have a xml script, I converted it to .txt with values comma seperated using awk function. But I want the output values should be inside double quotes
My xml script (Workorders.xml) is shown like below:
<?xml version="1.0" encoding="utf-8" ?>
<scbm-extract version="3.3">... (8 Replies)
Discussion started by: Viswanatheee55
8 Replies
LEARN ABOUT DEBIAN
xsd
xsd(1)xsd(1)NAME
xsd - Mono's utility for generating schema or class files
SYNOPSIS
xsd <schema.xsd> /classes [options]
xsd <schema.xsd> /dataset [options]
xsd <assembly>.dll|<assembly>.exe [options]
xsd <instance.xml> [<instance.xml> ...] [options]
DESCRIPTION
xsd is a tool for intended to complement the XML serialization support of Mono. It can do the following tasks:
Generate serializable classes
From a given XML schema, generate a class that can be used to read and write xml documents that conform that schema (/classes
option).
Generate typed datasets
From a given XML schema, generate a typed DataSet class that can be used to read and write xml documents that conform that schema
(/dataset option).
Generate XML schemas
From a given assembly and an optional type name, generate an XML schema that can be used to validate the xml documents that can be
obtained by serializing objects of that type. If no type is provided, xsd generates a schema for all types in the assembly. When
specifying the assembly name do not include the file extension (.dll or .exe). xsd will look for the assembly using the standard
assembly loading rules.
Infer XML schemas
From a given set of XML documents, infer the XML schema that can be used to validate those documents.
OPTIONS
The following options are available:
/element:name /e:name
Specifies the name of the XML schema element for which a class or a dataset has to be generated.
/namespace:name /n:name
Specifies the namespace of the XML schema element for which a class or a dataset has to be generated.
/language:name /l:name
Specifies the programming language to use for the generated code. The only supported languages are CS (C#) and VB (Visual
Basic.NET).
/generator:type,assembly /g:type,assembly
Indicates xsd.exe to use custom CodeDomProvider to generate code. The type name must be full name. Assembly name is a local file
name that is going to be loaded. The specified Type must have the default constructor.
/outputdir:path /o:path
Specifies the directory where to generate the code or schemas.
/type:name /t:name
Specifies the full name of the type (including namespace) for which to generate the XML schema.
/help /h
Show usage help.
AUTHORS
Lluis Sanchez Gual (lluis@ximian.com)
Atsushi Enomoto (atsushi@ximian.com)
LICENSE
xsd is released under the terms of the GNU GPL.
SEE ALSO disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1)xsd(1)