Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Urgent - XML Attribute Remove Post 302761563 by muchyog on Saturday 26th of January 2013 01:31:32 AM
Old 01-26-2013
Urgent - XML Attribute Remove

Hi

I have got a XML file which has got content as follows:

Code:
<FUNCall81110000 Tag="81110000" CallDate="25/08/11" CallTime="00:03:22" TotalUsageValue="30" MeasurementUnit="1"/>

I want to remove TotalUsageValue="30" only
and TotalUsageValue="XXXXX"
here XXX can be any value.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

XML Awk : Urgent

Hi All, I am a beginner to Unix. So would really appreciate if people out here can help me out. I have a XML file which has a element <NoteData> in which two values DBHA and DAKO. I need to search these in all the XML files in a directory and if found in the XML file then replace the... (3 Replies)
Discussion started by: karansachdeva
3 Replies

2. Shell Programming and Scripting

How to remove xml namespace from xml file using shell script?

I have an xml file: <AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Table1> <Data1 10 </Data1> <Data2 20 </Data2> <Data3 40 </Data3> <Table1> </AutoData> and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only. I tried using sed... (10 Replies)
Discussion started by: Gary1978
10 Replies

3. Shell Programming and Scripting

command to remove attribute of an html tag

Is there any shell command to clean an html tag of its attributes. For ex <p align ="center"> with <p>. Thanks for your help!! (2 Replies)
Discussion started by: parshant_bvcoe
2 Replies

4. Shell Programming and Scripting

read xml tag attribute and store it in variable

Hi, How to read xml tag attributes and store into variable in shell script? Thanks, Swetha (5 Replies)
Discussion started by: swetha123
5 Replies

5. UNIX for Dummies Questions & Answers

urgent help to convert xml to xsl or csv

Urgent help to transfer data from .xml to xl sheet where each attribute and value goes into seperate column.Please help me with the command.Please help Thanks Uma (9 Replies)
Discussion started by: umapearl
9 Replies

6. Shell Programming and Scripting

Extracting the value of an attribute tag from XML

Greetings, I am very new to the UNIX shell scripting and would like to learn. However, I am currently stuck on how to process the below sample of code from an XML file using UNIX comands: <ATTRIBUTE NAME="Memory" VALUE="512MB"/> <ATTRIBUTE NAME="CPU Speed" VALUE="3.0GHz"/> <ATTRIBUTE... (5 Replies)
Discussion started by: JesterMania
5 Replies

7. Shell Programming and Scripting

Changing attribute value in xml file using shell

I have an xml file.I want to change the value of some tag: <WASConfig version='1.1'> <JavaVirtualMachine> <scope> <server> <hostNode>myAsNode</hostNode> <name>myserver</name> </server> </scope> <Settings> <Setting> ... (5 Replies)
Discussion started by: javaholics
5 Replies

8. Shell Programming and Scripting

Extracting the value of an middle attribute tag from XML

Hi All, Please help me out in resolving this.. <secondTag enabled='true' processName='test1' pidFile='/tmp/test1.pid' /> From the above tag, I'm trying to retrieve the value of enabled and pidFile attributes by means of processName attribute. Would be thankful in resolving this..... (5 Replies)
Discussion started by: mjavalkar
5 Replies

9. Shell Programming and Scripting

Change attribute value in xml using shell script

hi, i am new to unix and i have a problem. -------------------------------------------------------------- sebben.xml <envelope> <email> sebben@example.com </email> </envelope> script_mail written in the vi editor. #!/bin/sh script to change the value in attribute <email> echo... (3 Replies)
Discussion started by: sebbenw
3 Replies

10. Shell Programming and Scripting

How to extract xml attribute values using awk inline.?

I am trying to extract specific XML attribute values for search pattern <factories.*baseQueueName' from resources.xml. my scripts works ok,, but to extract 3 values this code does echo $line three times, it could be 'n' times. How can I use awk to extract matching pattern values in-line or... (11 Replies)
Discussion started by: kchinnam
11 Replies
DateTime::Locale::tig(3)				User Contributed Perl Documentation				  DateTime::Locale::tig(3)

NAME
DateTime::Locale::tig SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'tig' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Tigre. DATA
This locale inherits from the DateTime::Locale::root locale. It contains the following data. Days Wide (format) XX XXXX XXXXX XXX XXXX XXXX XXX XXXX XXX Abbreviated (format) XX XXX XXX XXX XXX X/X X/X Narrow (format) X X X X X X X Wide (stand-alone) XX XXXX XXXXX XXX XXXX XXXX XXX XXXX XXX Abbreviated (stand-alone) XX XXX XXX XXX XXX X/X X/X Narrow (stand-alone) X X X X X X X Months Wide (format) XXXXX XXXXX XXX XXXX XX XX XXX XXXX XXXXXX XXXXXX XXXXX XXXXX Abbreviated (format) XXX XXX XXX XXX XX XX XXX XXX XXX XXX XXX XXX Narrow (format) X X X X X X X X X X X X Wide (stand-alone) XXXXX XXXXX XXX XXXX XX XX XXX XXXX XXXXXX XXXXXX XXXXX XXXXX Abbreviated (stand-alone) XXX XXX XXX XXX XX XX XXX XXX XXX XXX XXX XXX Narrow (stand-alone) X X X X X X X X X X X X Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 Q2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 Q2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide BCE CE Abbreviated X/X X/X Narrow X/X X/X Date Formats Full 2008-02-05T18:30:30 = XXXXX 05 XXXXX XX 2008 X/X 1995-12-22T09:05:02 = XXXXX 22 XXXXX XX 1995 X/X -0010-09-15T04:44:23 = XXXX XXXX 15 XXXXXX XX -10 X/X Long 2008-02-05T18:30:30 = 05 XXXXX 2008 1995-12-22T09:05:02 = 22 XXXXX 1995 -0010-09-15T04:44:23 = 15 XXXXXX -10 Medium 2008-02-05T18:30:30 = 05-XXX-2008 1995-12-22T09:05:02 = 22-XXX-1995 -0010-09-15T04:44:23 = 15-XXX--10 Short 2008-02-05T18:30:30 = 05/02/08 1995-12-22T09:05:02 = 22/12/95 -0010-09-15T04:44:23 = 15/09/-10 Default 2008-02-05T18:30:30 = 05-XXX-2008 1995-12-22T09:05:02 = 22-XXX-1995 -0010-09-15T04:44:23 = 15-XXX--10 Time Formats Full 2008-02-05T18:30:30 = 6:30:30 XX XXXXX UTC 1995-12-22T09:05:02 = 9:05:02 XXX XXXXX UTC -0010-09-15T04:44:23 = 4:44:23 XXX XXXXX UTC Long 2008-02-05T18:30:30 = 6:30:30 XX XXXXX UTC 1995-12-22T09:05:02 = 9:05:02 XXX XXXXX UTC -0010-09-15T04:44:23 = 4:44:23 XXX XXXXX UTC Medium 2008-02-05T18:30:30 = 6:30:30 XX XXXXX 1995-12-22T09:05:02 = 9:05:02 XXX XXXXX -0010-09-15T04:44:23 = 4:44:23 XXX XXXXX Short 2008-02-05T18:30:30 = 6:30 XX XXXXX 1995-12-22T09:05:02 = 9:05 XXX XXXXX -0010-09-15T04:44:23 = 4:44 XXX XXXXX Default 2008-02-05T18:30:30 = 6:30:30 XX XXXXX 1995-12-22T09:05:02 = 9:05:02 XXX XXXXX -0010-09-15T04:44:23 = 4:44:23 XXX XXXXX Datetime Formats Full 2008-02-05T18:30:30 = XXXXX 05 XXXXX XX 2008 X/X 6:30:30 XX XXXXX UTC 1995-12-22T09:05:02 = XXXXX 22 XXXXX XX 1995 X/X 9:05:02 XXX XXXXX UTC -0010-09-15T04:44:23 = XXXX XXXX 15 XXXXXX XX -10 X/X 4:44:23 XXX XXXXX UTC Long 2008-02-05T18:30:30 = 05 XXXXX 2008 6:30:30 XX XXXXX UTC 1995-12-22T09:05:02 = 22 XXXXX 1995 9:05:02 XXX XXXXX UTC -0010-09-15T04:44:23 = 15 XXXXXX -10 4:44:23 XXX XXXXX UTC Medium 2008-02-05T18:30:30 = 05-XXX-2008 6:30:30 XX XXXXX 1995-12-22T09:05:02 = 22-XXX-1995 9:05:02 XXX XXXXX -0010-09-15T04:44:23 = 15-XXX--10 4:44:23 XXX XXXXX Short 2008-02-05T18:30:30 = 05/02/08 6:30 XX XXXXX 1995-12-22T09:05:02 = 22/12/95 9:05 XXX XXXXX -0010-09-15T04:44:23 = 15/09/-10 4:44 XXX XXXXX Default 2008-02-05T18:30:30 = 05-XXX-2008 6:30:30 XX XXXXX 1995-12-22T09:05:02 = 22-XXX-1995 9:05:02 XXX XXXXX -0010-09-15T04:44:23 = 15-XXX--10 4:44:23 XXX XXXXX Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 XXX 1995-12-22T09:05:02 = 22 XXX -0010-09-15T04:44:23 = 15 X/X Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 XX XXXXX 1995-12-22T09:05:02 = 9:05 XXX XXXXX -0010-09-15T04:44:23 = 4:44 XXX XXXXX Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 XX XXXXX 1995-12-22T09:05:02 = 9:05:02 XXX XXXXX -0010-09-15T04:44:23 = 4:44:23 XXX XXXXX M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, M-d) 2008-02-05T18:30:30 = XXX, 2-5 1995-12-22T09:05:02 = XXX, 12-22 -0010-09-15T04:44:23 = X/X, 9-15 MMdd (dd/MM) 2008-02-05T18:30:30 = 05/02 1995-12-22T09:05:02 = 22/12 -0010-09-15T04:44:23 = 15/09 MMM (LLL) 2008-02-05T18:30:30 = XXX 1995-12-22T09:05:02 = XXX -0010-09-15T04:44:23 = XXX MMMd (MMM d) 2008-02-05T18:30:30 = XXX 5 1995-12-22T09:05:02 = XXX 22 -0010-09-15T04:44:23 = XXX 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = XXX XXX 5 1995-12-22T09:05:02 = XXX XXX 22 -0010-09-15T04:44:23 = X/X XXX 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = XXXXX 5 1995-12-22T09:05:02 = XXXXX 22 -0010-09-15T04:44:23 = XXXXXX 15 MMMMdd (dd MMMM) 2008-02-05T18:30:30 = 05 XXXXX 1995-12-22T09:05:02 = 22 XXXXX -0010-09-15T04:44:23 = 15 XXXXXX MMMMEd (E MMMM d) 2008-02-05T18:30:30 = XXX XXXXX 5 1995-12-22T09:05:02 = XXX XXXXX 22 -0010-09-15T04:44:23 = X/X XXXXXX 15 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, y-M-d) 2008-02-05T18:30:30 = XXX, 2008-2-5 1995-12-22T09:05:02 = XXX, 1995-12-22 -0010-09-15T04:44:23 = X/X, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 XXX 1995-12-22T09:05:02 = 1995 XXX -0010-09-15T04:44:23 = -10 XXX yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = XXX, 2008 XXX 5 1995-12-22T09:05:02 = XXX, 1995 XXX 22 -0010-09-15T04:44:23 = X/X, -10 XXX 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 XXXXX 1995-12-22T09:05:02 = 1995 XXXXX -0010-09-15T04:44:23 = -10 XXXXXX yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 Q1 1995-12-22T09:05:02 = 1995 Q4 -0010-09-15T04:44:23 = -10 Q3 yyMM (MM/yy) 2008-02-05T18:30:30 = 02/08 1995-12-22T09:05:02 = 12/95 -0010-09-15T04:44:23 = 09/-10 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 yyyyMMMM (MMMM y) 2008-02-05T18:30:30 = XXXXX 2008 1995-12-22T09:05:02 = XXXXX 1995 -0010-09-15T04:44:23 = XXXXXX -10 Miscellaneous Prefers 24 hour time? No Local first day of the week XX SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.16.3 2014-06-10 DateTime::Locale::tig(3)
All times are GMT -4. The time now is 12:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy