Sponsored Content
Top Forums Shell Programming and Scripting XML files with spaces in the tag name, parse & display? Post 302991427 by jeffs42885 on Friday 10th of February 2017 11:07:12 AM
Old 02-10-2017
Apologies. Thank you for clarifying. Here is the output that I am now working with. Much better than before!

Keep in mind, this was generated with a part of my utility that generates an XML report.

 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rename files with tag in a .xml file

Hi Guys! 1st of all, i am sorry for my bad english! I got a Sat-Receiver and i recorded some Stuff for my Children, now the Harddrive is full and i want to convert and rename it, that i can put it on DVDs But I've got a big Problem! I want to rename the files , with a tag in a xml file... (4 Replies)
Discussion started by: crusty
4 Replies

2. Shell Programming and Scripting

How to retrieve the value from XML tag whose end tag is in next line

Hi All, Find the following code: <Universal>D38x82j1JJ </Universal> I want to retrieve the value of <Universal> tag as below: Please help me. (3 Replies)
Discussion started by: mjavalkar
3 Replies

3. Shell Programming and Scripting

awk Script to parse a XML tag

I have an XML tag like this: <property name="agent" value="/var/tmp/root/eclipse" /> Is there way using awk that i can get the value from the above tag. So the output should be: /var/tmp/root/eclipse Help will be appreciated. Regards, Adi (6 Replies)
Discussion started by: asirohi
6 Replies

4. Emergency UNIX and Linux Support

Trying to parse a xml file for only one tag

I have a xml file in where I need to parse only a particular tag and print the output in the shell script. Here is the tag info in the xml file <dp:file> This is dp file output </dp:file> Output should be printed as This is dp file output. Please help.Thank you. (5 Replies)
Discussion started by: chandu123
5 Replies

5. Shell Programming and Scripting

Using shell command need to parse multiple nested tag value of a XML file

I have this XML file - <gp> <mms>1110012</mms> <tg>988</tg> <mm>LongTime</mm> <lv> <lkid>StartEle=ONE, Desti = Motion</lkid> <kk>12</kk> </lv> <lv> <lkid>StartEle=ONE, Source = Velocity</lkid> <kk>2</kk> </lv> <lv> ... (3 Replies)
Discussion started by: NeedASolution
3 Replies

6. Shell Programming and Scripting

XML Parse between to tag with upper tag

Hi Guys Here is my Input : <?xml version="1.0" encoding="UTF-8"?> <xn:MeContext id="01736"> <xn:VsDataContainer id="01736"> <xn:attributes> <xn:vsDataType>vsDataMeContext</xn:vsDataType> ... (12 Replies)
Discussion started by: pareshkp
12 Replies

7. Shell Programming and Scripting

To search for a particular tag in xml and collate all similar tag values and display them count

I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help File: <xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies

8. Shell Programming and Scripting

Moving XML tag/contents after specific XML tag within same file

Hi Forum. I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script. Any feedback will be greatly appreciated. ... (19 Replies)
Discussion started by: pchang
19 Replies

9. Shell Programming and Scripting

find files in sub dir with tag & add "." at the beginning [tag -f "Note" . | xargs -0 {} mv {} .{}]

I am trying find files in sub dir with certain tags using tag command, and add the period to the beginning. I can't use chflags hidden {} cause it doesn't add period to the beginning of the string for web purpose. So far with my knowledge, I only know mdfind or tag can be used to search files with... (6 Replies)
Discussion started by: Nexeu
6 Replies
RDF::Query::Functions::SPARQL(3pm)			User Contributed Perl Documentation			RDF::Query::Functions::SPARQL(3pm)

NAME
RDF::Query::Functions::SPARQL - SPARQL built-in functions VERSION
This document describes RDF::Query::Functions::SPARQL version 2.908. DESCRIPTION
Defines the following functions: o sparql:abs o sparql:bnode o sparql:bound o sparql:ceil o sparql:coalesce o sparql:concat o sparql:contains o sparql:datatype o sparql:ebv o sparql:strends o sparql:floor o sparql:encode_for_uri o sparql:exists o sparql:in o sparql:iri o sparql:isblank o sparql:isiri o sparql:isliteral o sparql:isuri o sparql:isNumeric o sparql:lang o sparql:langmatches o sparql:lcase o sparql:logical-and o sparql:logical-or o sparql:notin o sparql:rand o sparql:regex o sparql:round o sparql:sameterm o sparql:strstarts o sparql:str o sparql:strdt o sparql:strlang o sparql:strlen o sparql:substr o sparql:ucase o sparql:uri o sparql:encode_for_uri o sparql:contains o sparql:strstarts o sparql:strends o sparql:rand o sparql:md5 o sparql:sha1 o sparql:sha224 o sparql:sha256 o sparql:sha384 o sparql:sha512 o sparql:year o sparql:month o sparql:day o sparql:hours o sparql:minutes o sparql:seconds o sparql:timezone o sparql:tz o sparql:now o sparql:strbefore o sparql:strafter o sparql:replace o http://www.w3.org/2001/XMLSchema#boolean o http://www.w3.org/2001/XMLSchema#dateTime o http://www.w3.org/2001/XMLSchema#decimal o http://www.w3.org/2001/XMLSchema#double o http://www.w3.org/2001/XMLSchema#float o http://www.w3.org/2001/XMLSchema#integer o http://www.w3.org/2001/XMLSchema#string AUTHOR
Gregory Williams <gwilliams@cpan.org>. perl v5.14.2 2012-01-31 RDF::Query::Functions::SPARQL(3pm)
All times are GMT -4. The time now is 10:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy