Hello folks
I want to extract data between certain tag in XML file using 'sed'
<xml>
.........
..........
<one>XXXXXXXXXXXXXXXXXXXX</one>
......
Anyone ?Thank you (7 Replies)
Hi Guys,
I have a very large XML feed (2.7 MB) which crashes the server at the time of parsing. Now to reduce the load on the server I have a cron job running every 5 min.'s. This job will get the file from the feed host and keep it in the local machine.
This does not solve the problem as... (9 Replies)
I am need to extract a number of values from a file, put have now clue how to do this.
The file looks like this:
# My file
Dest=87;CompatibleSystemSoftwareVersion=2.5300-;
Dest=87;ImageVersion=000061f3;SystemSoftwareVersion=2.5300;CDN=http://my.backup.com/download.txt;CDN_Timeout=30;
I... (3 Replies)
Hello People,
I have an xml file from which I need to extract the values of the parameters using UNIX shell commands.
Ex : Input is like :
<Name>Roger</Name>
or
<Address>MI</Address>
I need the output as just :
Roger
or
MI
with the tags removed.
Please help. (1 Reply)
Hello,
Please can someone assist.
I have the following xml file:
<?xml version="1.0" encoding="utf-8" ?>
- <PUTTRIGGER xmlns:xsd="http://www.test.org/2001/XMLSchema" xmlns:xsi="http://www.test.org/2001/XMLSchema-instance" APPLICATIONNUMBER="0501160" ACCOUNTNAME="Mrs S Test"... (15 Replies)
Hello,
This is my first post in here, so excuse me if I sound too noob here!
I need to extract the path "/apps/mp/installedApps/V61/HRO/hrms_01698_A_qa.ear" from the below xml extract. The path will always appear with the key "binariesURL"
<deployedObject... (6 Replies)
I have an input file with contents like:
203969 OrdAcctCycChg USAGE_DAEMON1
203970 OrdAcctCycChg USAGE_DAEMON2
203971 OrdAcctCycChg USAGE_DAEMON3
203972 OrdAcctCycChg USAGE_DAEMON4
I need to extract variables in first column... (51 Replies)
Dear All,
I am reading one XML file to extract value from the particular tag:-
Sample xml is below:-
<KeyValuePairs>
<Key>TestString</Key>
<Value>Test12_Pollings</Value>
</KeyValuePairs>
I want to read the value for the KEY tag and there will be multiple key tags :-
awk... (4 Replies)
Hi,
My requirement is something like this,
I have a xml file that contains some tags and nested tags,
<n:tag_name1>
<n:sub_tag1>val1</n:sub_tag1>
<n:sub_tag2>val2</n:sub_tag2>
</n:tag_name1>
<n:tag_name2>
<n:sub_tag1>value</n:sub_tag1>
... (6 Replies)
Hi All
My input file is an XML and it has some tags and data rows at end.
Starting of data rows is <rs:data> and ending of data rows is </rs:data>.
Within sample data rows (2 rows) shown below, I want to extract data value after equal to sign (until space or "/" sign).
So if XML data... (7 Replies)
Discussion started by: vx04
7 Replies
LEARN ABOUT PHP
imap_headerinfo
IMAP_HEADERINFO(3) 1 IMAP_HEADERINFO(3)imap_headerinfo - Read the header of the messageSYNOPSIS
object imap_headerinfo NULL (resource $imap_stream, int $msg_number, [int $fromlength], [int $subjectlength], [string $defaulthost])
DESCRIPTION
Gets information about the given message number by reading its headers.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $msg_number
- The message number
o $fromlength
- Number of characters for the fetchfrom property. Must be greater than or equal to zero.
o $subjectlength
- Number of characters for the fetchsubject property Must be greater than or equal to zero.
o $defaulthost
-
RETURN VALUES
Returns the information in an object with following properties:
o toaddress - full to: line, up to 1024 characters
o to - an array of objects from the To: line, with the following properties:
personal, adl, mailbox, and host
o fromaddress - full from: line, up to 1024 characters
o from - an array of objects from the From: line, with the following properties:
personal, adl, mailbox, and host
o ccaddress - full cc: line, up to 1024 characters
o cc - an array of objects from the Cc: line, with the following properties:
personal, adl, mailbox, and host
o bccaddress - full bcc: line, up to 1024 characters
o bcc - an array of objects from the Bcc: line, with the following properties:
personal, adl, mailbox, and host
o reply_toaddress - full Reply-To: line, up to 1024 characters
o reply_to - an array of objects from the Reply-To: line, with the following properties:
personal, adl, mailbox, and host
o senderaddress - full sender: line, up to 1024 characters
o sender - an array of objects from the Sender: line, with the following properties:
personal, adl, mailbox, and host
o return_pathaddress - full Return-Path: line, up to 1024 characters
o return_path - an array of objects from the Return-Path: line, with the following properties:
personal, adl, mailbox, and host
o remail -
o date - The message date as found in its headers
o Date - Same as date
o subject - The message subject
o Subject - Same as subject
o in_reply_to -
o message_id -
o newsgroups -
o followup_to -
o references -
o Recent -
R if recent and seen, N if recent and not seen, ' ' if not recent.
o Unseen -
U if not seen AND not recent, ' ' if seen OR not seen and recent
o Flagged -
F if flagged, ' ' if not flagged
o Answered -
A if answered, ' ' if unanswered
o Deleted -
D if deleted, ' ' if not deleted
o Draft -
X if draft, ' ' if not draft
o Msgno - The message number
o MailDate -
o Size - The message size
o udate - mail message date in Unix time
o fetchfrom - from line formatted to fit $fromlength characters
o fetchsubject - subject line formatted to fit $subjectlength characters
SEE ALSO imap_fetch_overview(3).
PHP Documentation Group IMAP_HEADERINFO(3)