Sponsored Content
Top Forums Shell Programming and Scripting How to extract text from xml file Post 302134633 by chrisf on Saturday 1st of September 2007 02:25:53 PM
Old 09-01-2007
That does the trick. Thank you so much for your help.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

extract a number within an xml file

Hi Everyone, I have an sh script that I am working on and I have run into a little snag that I am hoping someone here can assist me with. I am using wget to retrieve an xml file from thetvdb.com. This part works ok but what I need to be able to do is extract the series ID # from the xml and put... (10 Replies)
Discussion started by: tret
10 Replies

2. Shell Programming and Scripting

Extract XML content from a file

310439 2012-01-11 03:44:42,291 INFO PutServlet:? - Content of the Message is:="1.0" encoding="UTF-8"?><ESP_SSIA_ACC_FEED> 310440 <BATCH_ID>12345678519</BATCH_ID> 310441 <UID>3498748823</UID> 310442 <FEED_TYPE>FULL</FEED_TYPE> 310443 <MART_NAME>SSIA_DM_TRANSACTIONS</MART_NAME> 310444... (11 Replies)
Discussion started by: arukuku
11 Replies

3. Shell Programming and Scripting

sed - extract text from xml file

hi, please help, i have an xml file, e.g: ... <tag> test text asdas="${abc}" xvxvbs:asdas${222}sdad asasa="${aa_bb_22}" </tag> ... i want to extract all "${...}", e.g: ${abc} ${222} ${aa_bb_22} thank you. (2 Replies)
Discussion started by: gioni
2 Replies

4. Shell Programming and Scripting

Extract values from an XML File

Hi, I need to capture all the attributes with delete next to it. The source XML file is attached. The output should contain something like this below: Attributes = legacyExchangeDN Action = Delete Username = Hero Joker Loginid = joker09 OU =... (4 Replies)
Discussion started by: prvnrk
4 Replies

5. Shell Programming and Scripting

Get extract text from xml file

Hi Collegue, i have a file say a.xml. it has contents <bpelFault><faultType>1</faultType><genericSystemFault xmlns=""><part name="payload"><v2:Fault... (10 Replies)
Discussion started by: Jewel
10 Replies

6. Shell Programming and Scripting

Extract a particular xml only from an xml jar file

Hi..need help on how to extract a particular xml file only from an xml jar file... thanks! (2 Replies)
Discussion started by: qwerty000
2 Replies

7. Shell Programming and Scripting

Extract Data from XML file.

Hi Guys, I am in a need to extract data from a xml file. The XML file format is as below. <data jsxnamespace="propsbundle" locales=""> <locale> <!--Error messages starts--> <record jsxid="CHARPAIR001" jsxtext=" must be selected"></record> <record... (1 Reply)
Discussion started by: Showdown
1 Replies

8. UNIX for Dummies Questions & Answers

Extract Element from XML file

<?xml version = '1.0' encoding =... (8 Replies)
Discussion started by: Siva SQL
8 Replies

9. Shell Programming and Scripting

Extract a value from an xml file

I have this XML file format and all in one line: Fri Dec 23 00:14:52 2016 Logged Message:689|<?xml version="1.0" encoding="UTF-8"?><PORT_RESPONSE><HEADER><ORIGINATOR>XMG</ORIGINATOR><DESTINAT... (16 Replies)
Discussion started by: mrn6430
16 Replies

10. Programming

How to write in other language in text/xml file by reading english text/xml file using C++?

Hello Team, I have 2 files.one contains english text and another contains Japanese. so i have to read english text and replace the text with Japanesh text in third file. Basically, I need a help to write japanese language in text/xml file.I heard wstring does this.Not sure how do i write... (2 Replies)
Discussion started by: SA_Palani
2 Replies
DDS(6)								   Games Manual 							    DDS(6)

NAME
dds - double dummy solver frontend SYNOPSIS
dds file [ options ] DESCRIPTION
This program is a command line interface for Bo Haglund's Double Dummy Solver (DDS). It has four useful stand-alone options: 1. Option -playdd, to play any deal double dummy. 2. Option -giblib. For any deal, to get maximum trick values for all possible contracts and leaders (these are the 20 trick values as for giblib). 3. Option -tricks. For specified deal, to get maximum trick values for all possible contracts and leaders (these are the 20 trick val- ues as for giblib). 4. Option -gen. This is to generate deals, without or with up to 20 possible trick values. OPTIONS
file path for 'giblib' input file Optional arguments [options] are one or more of: -v verbose where applicable -target=d -1-13 (default -1). Number of tricks to be won by the side to play, -1 means that the program shall find the maximum number. For equivalent cards only the highest is returned. -sol=d solution 1/2/3 (default 3). How many card solutions SolveBoard returns: target=1-13, solutions=1: Returns only one of the cards. Its returned score is the same as target when target or higher tricks can be won. Otherwise, score -1 is returned if target cannot be reached, or score 0 if no tricks can be won. target=-1, solutions=1: Returns only one of the optimum cards and its score. target=0, solutions=1: Returns only one of the cards legal to play with score set to 0. target=1-13, solutions=2: Return all cards meeting target. Their returned scores are the same as target when target or higher tricks can be won. Otherwise, only one card is returned with score -1 if target cannot be reached, or score 0 for all cards legal to play if no tricks can be won. target=-1, solutions=2: Return all optimum cards with their scores. target=0, solutions=2: Return all cards legal to play with scores set to 0. target irrelevant, solutions=3: Return all cards that can be legally played with their scores in descending order. -mode=d 0/1 (default 1). DLL mode of operation. This mode does not affect the DLL if there are multiple choices for cards to play. If there is just one card to play, or multiple cards that are all equivalent, this mode determines whether or not the DLL will search to find the score. mode=0: Do not search to find the score if the hand to play has only one card, including its equivalents, to play. Score is set to -2 for this card, indicating that there are no alternative cards. This mode is very fast. mode=1: Always search to find the score. Even when the hand to play has only one card, with possible equivalents, to play. -trumps=t s/h/d/c/n, this overrides the file (default=n) -leader=l w/n/e/s, this overrides the file (default=w) but used only when no cards have been played -deal=d 1/2/... deal number in giblib file. Only one of -deal or -name should be specified. -name=str deal with 'name=str' in giblib file. Only one of -deal or -name should be specified. -playdd play deal choosing between DDS alternatives -timeall time all deals in file for sol=1/2/3, print stats -timeg=xcn x - hex digit, total tricks by n-s c - contract s/h/d/c/n n - number of deals time the first n deals in the giblib file, having total tricks x at contract c, for target=-1 sol=1 mode=1 and for the speci- fied/default leader, each deal is validated. -giblib=d1-d2[-all] validate all deals from d1 to d2 in giblib file for target=-1 sol=1 mode=1. 1. if -all is given, this is done for all of the 20 trick values even if some of them are '-'. 2. if -all is not given, this is done only for those trick values which are not '-'. -tricks like -giblib, but for single deal specified by -name=str -deal=d or option Generate deals: -gen=n (required) n=number of deals to generate. output is written to a file (see below) -genseed=s (default 0) seed for random generator -gencards=c (default=52) number of cards generated per deal, must be multiple of 4 -gentricks=t 0,1,...,20 (default 1), number of tricks values to set randomly Generate output is written to a file: gen-genseed-ndeal-gencards-gentricks.txt NOTES
The program was named ddd by its author. As there is already some other ddd package in Debian (the gdb frontend) it was renamed to dds, the name of the library used. SEE ALSO
dealer(6), deal(6). DDS(6)
All times are GMT -4. The time now is 11:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy