Sponsored Content
Full Discussion: CSV to XML
Top Forums Shell Programming and Scripting CSV to XML Post 83103 by pjanakir on Saturday 10th of September 2005 06:51:35 PM
Old 09-10-2005
AWK Script!

vgersh99,
thanks for your help. Can you explain it step by step, so I can understand better. When I open my unix box, and say openssh servername
and enter user name and password. after that how do I execute this script?
Do let me know as Iam entirely new to this project. I would be very greatly indebted to you for your timely help.

Thanks,
pjanakir
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help to convert XML to CSV

Apologies if this has already been covered in this site somewhere, I did try looking but without any success. I am new to the whole XML thing, very late starter, and have a requirement to convert an XML fiule to a CSV fomat. I am crrently working on a Solaris OS. Does anyone have any suggestions,... (2 Replies)
Discussion started by: rossingi_33
2 Replies

2. Shell Programming and Scripting

CSV processing to XML

Hi, i am really fresh with shell scripting and programming, i have an issue i am not able to solve to populate data on my server for Cisco IP phones. I have CSV file within the following format: ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;... (9 Replies)
Discussion started by: angel2008
9 Replies

3. Shell Programming and Scripting

XML to csv transformation

Hi, I want to write a perl script. Which should accept the xml file, one xsl file and the loaction. The perl script should process the xml file using the xsl file and puts the out put in specified location. For example: My.perl is perls cript. my.xml is like this <?xml version="1.0"... (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

4. Shell Programming and Scripting

XML to CSV specific

Hi , Please any one to help on ,extract this xml code into csv columns list. <SOURCEFIELD BUSINESSNAME ="" DATATYPE ="date" DESCRIPTION ="" FIELDNUMBER ="1" FIELDPROPERTY ="0" FIELDTYPE ="ELEMITEM" HIDDEN ="NO" KEYTYPE ="NOT A KEY" LENGTH ="19" LEVEL ="0" NAME ="BUSINESS_DATE"... (4 Replies)
Discussion started by: mohan705
4 Replies

5. Shell Programming and Scripting

Convert xml to csv

I need to convert below xml code to csv. I searched other posts as well but this post (_https://www.unix.com/shell-programming-scripting/174417-extract-parse-xml-data-statistic-value-csv.html) gives "sed command garbled" error. As of now I have written a long script to do it, but can it be done with... (7 Replies)
Discussion started by: dineshydv
7 Replies

6. Shell Programming and Scripting

How to convert xml to csv ?

I am in need of converting billions of XML into csv file to load data to DB, i have found the below code in perl but not sure why it's not working properly. CODE: #!/usr/bin/perl # Script to illustrate how to parse a simple XML file # and pick out all the values for a specific element, in... (1 Reply)
Discussion started by: rspwilliam
1 Replies

7. Shell Programming and Scripting

XML to CSV

I want to pharse below Xml Using Shell Scripting . Thanks in Advance <md> <neid> <neun>1523</neun> <nedn>XXX1212</nedn> <nesw>fffff12515</nesw> </neid> <mi> <mts>20141128001500</mts> <gp>550</gp> <mt>pmct1</mt> <mt>pmNo2</mt> <mt>pmNo3S</mt> <mv> <moid>Ma=1,Rn=1,Ul=311C</moid>... (6 Replies)
Discussion started by: pareshkp
6 Replies

8. UNIX and Linux Applications

Xml to csv

Hello, Does anyone know of a way to convert an .xml file (ONIX) to something more workable, like a .csv (or even .xls) file? Ideally something on the command line would be ideal, but not absolutely necessary. I would be dealing with .xml files of 125 MB+. I am using XQuartz in El Capitan. ... (17 Replies)
Discussion started by: palex
17 Replies

9. UNIX for Beginners Questions & Answers

Xml to csv (again)

Hello, I have copied .xml code for a single item below. I am trying to extract three items (field indices*b244 (second occurrence), b203, and j151), so the desired output would be: 9780323013543 Manual of Natural Veterinary Medicine: Science and Tradition, 1e 68.95 A parallel solution,... (14 Replies)
Discussion started by: palex
14 Replies

10. Shell Programming and Scripting

Converting XML to CSV

Hello, For i while i have been using XMLStarlet to convert several XML files to CSV files. So far this always went fine. Today however i got a new XML format however but i cannot find out how to get the data i need. Below is part of the code where it shows the different format. What... (10 Replies)
Discussion started by: SDohmen
10 Replies
model-builder(1)					      General Commands Manual						  model-builder(1)

NAME
model-builder - graphical ODE simulator DESCRIPTION
Model Builder is a graphical ODE simulator. It allows the user to define, simulate and analyze arbitrary systems of Ordinary Diferential Equations. Features * Equation-based model definition. No need to learn to program to define and run your models. Just type-in you differential equations * Graphic output of simulation. You can save the graphics in the most common formats: png, svg, pdf, etc. * Spreadsheet view of the results. From the spreadsheet you can make customized plots from your variables. You can also export your data to a .csv text file * Latex rendering of your system of equations. Check you equation in clear mathematical notation. * Intuitive graphical interface. * Uncertainty analysis module. Implements a straightforward interface for the Bayesian Melding method. * Sensitivity analysis. Find out how sensitive your model is to variations in parameter values. GETTING STARTED
The best way to get started with ModelBuilder is open one of the models included with the distribution and look at it . Yes, it's that simple. So, if you have already intalled it, start Model-Builder by typing in the console: $ PyMB followed by <enter>. This will start Model-Buider . From now on I will assume that you know what a system of differential equations is, otherwise you probably should not be using Model-Builder. The larger box on the main frame, labeled "Differential Equations" is where we are going to start. On this text box you will write your system of equations (or a single equation) The syntax is that of python for mathematical expressions and functions and there are some conventions also, which I will explain below: * First of all, Model-Builder expects only the right-hand-side (RHS) of you equations to be present one per line in the equations box. The LHS is assumed to be of the form dy(t)/dt, dy_i/dt where i is an index to the the number of equations in your model. This number i will be used to refer to the state variables of the model ( y[i] ). This index, i, MUST start at 0, so if your model has 3 equations, their state variables will be y[0], y[1], and y[2] . * Another convention is the reference to model parameters. Any number of parameters may be included in the equations by the using this nomeclature: p[0], p[1], and so on. These parameter must the be specified one per line and in ascending order in the "Parameters" box. So the first line would be the definition of p[0], the second of p[1] and so forth. * The mathematical expressions that make up the equations and the parameters may include any function of the numpy python module. This allows for the easy contruction of models with a level of sophistication higher than that of a simple algebraic expression. Time may be referenced in the equations or parameter expressions by the variable "t". So if you want a parameter that is a function of time, you can simply write in the parameter box. * The user familiar with python will also be able to include more advanced structures in the model specification, such as Lambda functions for instance. Well, with that out of the way, it remains to explain the rest of the interface which is pretty much self-explanatory: * The initial values box should include one number for each equation (line) in the equations box. The numbers should be separated by spaces. * The start time is the time value at which the equations begin to be evaluated. The values of the state variables at this point in time are those specified in the initial conditions. * End time: You can figure this one out... * Time step: this is the time-step used in reporting the output of the simulation. The actual time step used by the numeric integrator is variable and chosen on the fly. Its normally much finer that what you specify here. * Critical time steps. Most user wil leave this box empty. * First Step: The size of the first step. Leave at 0 for automatic determination. * Min Step Size and Max Step Size: Respectively the minimum and maximum value for step sizes as chosen by variable step size algorithm. Leave at zero for automatic determination. * Full Output check box: If this box is checked a lot of useful information about the integration is included in the output. Check out the output spreadsheet to see what they are. * Show convergence message: if this box is checked, ModelBuilder will print "Integration successful" to the console after the integration is completed. Useful for debugging purposes only. Uncheck if you are doing uncertainty analyses. as it will slow things down. * Once you are done entering the necessary information for you model, Just press the start button to calculate your model. Enjoy! HOMEPAGE
http://model-builder.sourceforge.net/ AUTHOR
This manual page was written by Varun Hiremath <varunhiremath@gmail.com>, for the Debian project (but may be used by others). December 4, 2006 model-builder(1)
All times are GMT -4. The time now is 01:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy