Sponsored Content
Full Discussion: XML to Table conversion
Top Forums Shell Programming and Scripting XML to Table conversion Post 302951414 by nanduri on Thursday 6th of August 2015 03:32:01 AM
Old 08-06-2015
Thanks for the reply ,

But in my XML file the content is more than a single word , Its taking each word in a separate field.
Code:
<title>00000888 asdf asdf </title>

<name>XYZ adsf asdf </name>

<updated>2397-2323 adf adsf </updated>

<content>Content asdf adsf </content>

<summary>summary12 asdf asdf </summary>

Code:
Title ; Name;  Updated ; Content; Summary 
00000888 asdf asdf ; XYZ adsf asdf ; 2397-2323 adf adsf; Content asdf adsf ; summary12 asdf asdf 
000788 asdf asdf ; XYS asdf sadf ; 8912-1234 asd asd ; Content asdf adf ; summary 16 asdf asdf

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

About XML file Integrating to a table

Hi , I have a question about unix shell scripting. I hope someone may help me to solve problem. In our system , there are two server that generate two different log file which are XML format in UNIX system. The problem is , this XML files contain such counter names and values sometimes this... (1 Reply)
Discussion started by: kbiricik
1 Replies

2. Shell Programming and Scripting

select values from db1 table and insert into table of DB2

Hi I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.) I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
Discussion started by: aemunathan
2 Replies

3. Shell Programming and Scripting

How to export table data to xml file?

Hi , I would like to get some suggestion from the experts. My requirement is to export oracle table data as an xml file. Any unix/linux tools, scripts available? Regards, (2 Replies)
Discussion started by: LinuxLearner
2 Replies

4. Shell Programming and Scripting

Text to XML conversion using script

Hi I have a file in the format with so many records DB2 Universal JDBC Driver Provider,wdialdcsq,New JDBC Datasource,jdbc/wdialdcsq,,dcsqdb2n,cldrdgw1.is.chrysler.com,2998,DB2,10,1,180,0,1800 i need to convert all these into <DataSource name="wdialODDC" maxConnection="10" minConnection="0 "... (1 Reply)
Discussion started by: mskalyani9
1 Replies

5. Shell Programming and Scripting

Adding a field to a file using a conversion table

Hello everyone, Here is what i am trying to accomplish. I have a transaction log that I want to to add a field. The fields in the transaction log are tab delimited FYI. My goal is to add a column specifying the category/type to each item purchased. I have created a two column "conversion table"... (2 Replies)
Discussion started by: SpencerClark
2 Replies

6. UNIX for Dummies Questions & Answers

Find & Replace identifiers using a conversion table

Hi ! I have input.tab with one column containing Item IDs under a number format (the second column is the Location of this item): Location Item ID rack1 12; 35; 43 rack35 23; 894; 5478; 98 etc... (The number of Items per row is variable. Item IDs in a same field are... (17 Replies)
Discussion started by: lucasvs
17 Replies

7. Shell Programming and Scripting

Build a table from a list by comparing existing table entries

I am new to this shell scripting.... I have a file which contains list of users. This files get updated when new user comes into the system. I want to create script which will give a table containing unique list of users. When I say unique, it means script should match table while parsing... (3 Replies)
Discussion started by: dchavan1901
3 Replies

8. UNIX for Beginners Questions & Answers

Replacing string/special characters using a 'conversion' table

Hi, Does anyone know if there is a script or program available out there that uses a conversion table to replace special characters from a file? I am trying to remove some special characters from a file but there are several unprintable/control characters that some I need to remove but some I... (2 Replies)
Discussion started by: newbie_01
2 Replies

9. Shell Programming and Scripting

Script to load XML file to Oracle table

Experts. I have created a oracle table as below. create table xml_tab ( File_No number , File_content Varchar2(2000), file_type xmltype ); Daily we are receiving many XML files as below. here is our sample xml file. File1 : (7 Replies)
Discussion started by: vasuvv
7 Replies

10. Web Development

Getting Rid of Annoying Bootstrap Table Borders and Wayward Table Lines

Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer: <script> $(function(){ $('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
LES(8)							       Maintenance Commands							    LES(8)

NAME
les, bus - ATM LAN Emulation service demons SYNOPSIS
lecs [-l listen_address] [-f configuration_file] [-d ] DESCRIPTION
LE Service consists of three components: LAN Emulation Configuration Server (lecs), LAN Emulation Server ( les(8)) and Broadcast and Unknown Server (bus(8)). Lecs implements the distribution of LECs to different emulated LANs. This is done by giving different LAN Emulation Server ATM addresses to LECs. Distribution is based on lecs's configuration database and information provided by the LE client. It is not required that a lecs exists for all emulated LANs. It is possible to bypass this configuration phase by directly telling ATM address of the les(8) to the LEC. Configuration file example for lecs: # Our ATM address (should be included to differentiate us from # e.g. LEC) # Must be before ELAN definitions 470023000000030300010002010020ea000ae905 # ELAN name is inside brackets. # Parameters below are for Ethernet type LE (Linux & almost all # other LE clients) [tut-lane1] # Address of the LES LES:=470023000000030300010002010020ea000ae901 # 802_3 or 802_5 (802_3 = Ethernet) Type:=802_3 # 1515, 4544, 9234 or 18190 (1516= Ethernet) Max_Frame:=1516 # ATM address for hosts that are guided to this ELAN. # Wildcard is x or X. 470023000000030300010002010020ea0005aax0 470023000000030000010002010020ea0005bx00 47.002300000003030001000201.00603E2FDX23.00 470023000000030300010002010020ea000Xxx00 DEFAULT # Another ELAN, which has empty name [asdf] # This directive sets this elan as the default i.e. it will be # included if LEC's configure request could not be matched to # other ELANs #DEFAULT LES= 470023000000030300010002010020ea000ae902 Type=Ethernet Rules for finding ELAN definitions using information provided in LE_CONFIGURE_REQUEST and the configuration file are as follows: 1. Find an entry where ELAN-NAME matches exactly and an ATM address of the LEC is found in ELAN definition. These are to match exactly with the information given in LE_CONFIGURE_REQUEST. If ELAN-NAME is found, but ATM address doesn't match then reject with reason "Permission denied". 2. Search for first ELAN which matches in type of emulated LAN, maximum frame size and ATM address of the LEC. 3. If matching ELAN was not found, return default ELAN definitions. 4. No match, so request is rejected with reason "No Configuration". SIGHUP restarts the server. OPTIONS
-d Reads the configuration file, dumps its contents and exits. -l listen_address Use the listen_address to where wait connections. -f configuration_file Use the specified configuration file instead of .lecs_conf. FILES
.lecs_conf configuration file BUGS
Undocumented. AUTHOR
Marko Kiiskila, TUT <carnil@cs.tut.fi> SEE ALSO
les(8), atmsigd(8), zeppelin(8) Linux Sep 11, 1996 LES(8)
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy