Sponsored Content
Top Forums UNIX for Beginners Questions & Answers UNIX shell script required to read two columns from xml Post 303032004 by sekhar.lsb on Saturday 9th of March 2019 05:52:47 AM
Old 03-09-2019
Hi Rudi,

Greetings!!!
I am sorry for not responding to your question.

Yes, you are true the three "variable" (table, column1, colum2)
example: for source [EPIC (table name), DID (coulum1), Project_name (column2)]
for Target [SQ_EPIC (table name), DID (coulum1), Project_name (column2)]
Need a script to generate insert script dynamically.

Thanks in Advance!!!
Regards,
Sekhar Lekkala.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script required to convert rows to columns

Hi Friends, I have a log file as below siteid = HYD spc = 100 rset = RS_D_M siteid = DEL spc = 200 rset = RS_K_L siteid = DEL2 spc = 210 rset = RS_D_M Now I need a output like column wise as below. siteid SPC rset HYD 100 RS_D_M (2 Replies)
Discussion started by: suresh3566
2 Replies

2. UNIX for Advanced & Expert Users

Shell script failing to read large Xml record-urgent critical help

Hi All, I have shell script running on AIX 5.3 box. It has 7 to 8 "sed" commands piped(|) together. It has a an Xml file as its input which has many records internally. There are certain record which which have more than hundered tags.The script is taking a huge amount of time more than 1.5 hrs... (10 Replies)
Discussion started by: aixjadoo
10 Replies

3. Shell Programming and Scripting

Help required on basic Unix Bourne Shell Script

Howdy People :), I'm a newbie & its my first question here. I've started learning Unix Bourne Shell scripting recently and struggling already :p Can someone PLEASE help me with the following problem. Somehow my script is not working. Display an initial prompt of the form: Welcome to... (1 Reply)
Discussion started by: methopoth
1 Replies

4. Shell Programming and Scripting

How to send email using shell script in UNIX, Is any environment setup required in Mac OS X ?

Hi All, I am using Mac OS X (Leopard OS). I am very new to UNIX. My requirement is that, by running a shell script, I create a log file. So I have to send a mail having that log file attached. What I tried to do is, I simply tried to check,whether this direct command works or not. So I... (2 Replies)
Discussion started by: Afreen
2 Replies

5. Shell Programming and Scripting

Unix Script to read the XML file from Website

Hi Experts, I need a unix shell script which can copy the xml file from the below pasted website and paste in in my unix directory. http://www.westpac.co.nz/olcontent/olcontent.nsf/fx.xml Thanks in Advance... (8 Replies)
Discussion started by: phani333
8 Replies

6. UNIX for Advanced & Expert Users

Shell Script to read XML tags and the data within that tag

Hi unix Gurus, I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information. For example <SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (2 Replies)
Discussion started by: SmilePlease
2 Replies

7. Shell Programming and Scripting

Shell Script to read XML file

Hi unix Gurus, I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information. For example <SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (5 Replies)
Discussion started by: SmilePlease
5 Replies

8. Red Hat

How to read an xml file through shell script?

Hey , can we read an xml file and make changes in it through shell script. Thanks (4 Replies)
Discussion started by: ramsavi
4 Replies

9. Shell Programming and Scripting

UNIX Shell script to work with .xml file

Hi Team, Could you please help me on below query: I want to retrieve XML elements from one .xml file. This .xml file has commented tags as well. so i am planning to write Unix command/script which 1.will chekc for this .xml file 2. it will ignore the commented XML lines. i.e. XML tags between... (3 Replies)
Discussion started by: waiting4u
3 Replies

10. Shell Programming and Scripting

Read xml tags and then remove the tag using shell script

<Start> <Header> This is header section </Header> <Body> <Body_start> This is body section <a> <b> <c> <st>111</st> </c> <d> <st>blank</st> </d> </b> </a> </Body_start> <Body_section> This is body section (3 Replies)
Discussion started by: RJG
3 Replies
XtParseTranslationTable()												 XtParseTranslationTable()

Name
  XtParseTranslationTable - compile a translation table into its internal representation.

Synopsis
  XtTranslations XtParseTranslationTable(table)
	 String table;

Inputs
  table     Specifies the translation table to compile.

Returns
  The compiled form of table.

Description
  XtParseTranslationTable()  compiles  table  into its opaque internal representation of type XtTranslations.  This compiled form can then be
  set as the value of a widget's XtNtranslations resource, or merged with a widget's existing translation table with  XtAugmentTranslations()
  or XtOverrideTranslations().

  The syntax of the string representation of a translation table is documented in Appendix F.

  If  an  empty  translation table is required for any purpose, one can be obtained by calling XtParseTranslationTable() and passing an empty
  string.

Usage
  This function is generally only needed by application writers.  When writing a widget, you specify a default translation table as a string,
  which the Intrinsics automatically parse.

  You  only need to use this function when you want to set translation values from C code; translation tables specified in resource files are
  automatically compiled by a resource converter.

  It is also possible to set a translation table with the XtVaTypedArg feature of XtVaCreateWidget() and XtVaSetValues().  This allows you to
  specify the translation table in string form, and have the appropriate resource converter automatically invoked to compile it.

  The string table passed to XtParseTranslationTable can be freed after the call if there are no more explicit references to it.

See Also
  XtAugmentTranslations(1), XtOverrideTranslations(1), XtUninstallTranslations(1).

Xt - Translations and Actions												 XtParseTranslationTable()
All times are GMT -4. The time now is 11:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy