If someone out there could help me out with this problem. I would really
appreciate it.
My requirement is :Read XML and put data in Test.txt file.Using Shell script(bourn)
My xml file:
<root>
<header>
<HeaderData1>header1</HeaderData1>
<HeaderData2>header2</HeaderData2>... (0 Replies)
Hello Everybody!!!!!!!!! Request you to help me with the below mentioned issue:
I have 2 files say,
File 1:
a|4|7
b|3|2
c|8|8
d|8|9
File 2:
a|4|6
b|2|2
c|8|8
d|9|8
The third file(output file) should have:
Data mismatch in row 1 column 3
Data mismatch in row 2 coumn 2
Data... (3 Replies)
Hi
I need some help with a task, i am an absolute newbie to any form of shell scripting and request guidance.
Task:
1. Read a config file in form of name value pair
ex
host=www.test.com
port=8080
binding="dynamic" or "other" or "something else"
key1=value1
key2=value2
key3=value4... (4 Replies)
Hi all,
I have 2 files. One contains only 1 column and other one contains 2 columns, let say 1_col.txt and 2_col.txt respectively. Here, I will try to explain with an example.
Input files :
1_col.txt 2_col.txt
a a b
x a c
p ... (5 Replies)
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
Hi All,
I have two xml files.
One is having below input
<NameValuePair>
<name>Daemon</name>
<value>tcp:7474</value>
</NameValuePair>
<NameValuePair>
<name>Network</name>
<value></value>
</NameValuePair>
... (2 Replies)
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (1 Reply)
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)
hi all,
trying this using shell/bash with sed/awk/grep
I have two files, one containing one column, the other containing multiple columns (comma delimited).
file1.txt
abc12345
def12345
ghi54321
...
file2.txt
abc1,text1,texta
abc,text2,textb
def123,text3,textc
gh,text4,textd... (6 Replies)
Discussion started by: shogun1970
6 Replies
LEARN ABOUT DEBIAN
template::declare::tagset::rdf
Template::Declare::TagSet::RDF(3pm) User Contributed Perl Documentation Template::Declare::TagSet::RDF(3pm)NAME
Template::Declare::TagSet::RDF - Template::Declare tag set for RDF
SYNOPSIS
# normal use on the user side:
use base 'Template::Declare';
use Template::Declare::Tags RDF => { namespace => 'rdf' };
template foo => sub {
rdf::RDF {
attr { 'xmlns:rdf' => "http://www.w3.org/1999/02/22-rdf-syntax-ns#" }
rdf::Description {
attr { about => "Matilda" }
#...
}
}
};
DESCRIPTION
Template::Declare::TagSet::RDF defines a full set of RDF tags for use in Template::Declare templates. You generally won't use this module
directly, but will load it via:
use Template::Declare::Tags 'RDF';
METHODS
new( PARAMS )
my $html_tag_set = Template::Declare::TagSet->new({
package => 'MyRDF',
namespace => 'rdf',
});
Constructor inherited from Template::Declare::TagSet.
get_tag_list
my $list = $tag_set->get_tag_list();
Returns an array ref of all the RDF tags defined by Template::Declare::TagSet::RDF. Here is the complete list:
"Alt"
"Bag"
"Description"
"List"
"Property"
"RDF"
"Seq"
"Statement"
"XMLLiteral"
"about"
"li"
"first"
"nil"
"object"
"predicate"
"resource"
"rest"
"subject"
"type"
"value"
"_1"
"_2"
"_3"
"_4"
"_5"
"_6"
"_7"
"_8"
"_9"
"_10"
This list may be not exhaustive; if you find some important missing ones, please let us know. :)
AUTHOR
Agent Zhang <agentzh@yahoo.cn>
SEE ALSO
Template::Declare::TagSet, Template::Declare::TagSet::HTML, Template::Declare::TagSet::XUL, Template::Declare::Tags, Template::Declare.
perl v5.10.1 2010-12-08 Template::Declare::TagSet::RDF(3pm)