Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
1 Endorsement
Ranked #860
Ranked #2K
~4K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

13 Posted Topics

Member Avatar for computerbear

Dear Teddi, your code contains couple of problems 1. input xml is not well formed. (no root element present in this document., etc) 2. calling css is wrong. hence i have coded the sample.xml and sample.css for u. your way of learning is correct. start with css and end with …

Member Avatar for Squiva
0
312
Member Avatar for MrDavo

Hi Davo, perl compiles the code before running the programme, Even perl is an interpreter, it has its own **compile phase** and **interpreter phase**. The difference between perl and compiled programme is, Perl Compiles the programme each time rather than only once. Thanks and regards, Balaji. C

Member Avatar for yuvanbala
0
246
Member Avatar for bharathG

Hi bharat, try this one use 5.012; my $file1=$ARGV[0]; my $file2=$ARGV[1]; my (%file1, %file2); open (my $in, '<', $file1) or die "cannot open the input file $file1 $!"; while (<$in>){ $file1{$.}=$_; } close $in; open (my $in1, '<', $file2) or die "cannot open the input file $file1 $!"; while (<$in1>){ …

Member Avatar for 2teez
0
348
Member Avatar for sateal8
Member Avatar for czxzxcXZ
Member Avatar for aplh_ucsc

Hi, you have 2 remember two things to solve this issue., 1. xml declaraion is optional in xml document. however, if you give the xml declaraion. it should be occurs immediate within the xml document. <?xml version="1.0"?> 2. xsl namespace should be [[url]http://www.w3.org/1999/XSL/Transform][/url] case sensitive. hence try this codes 1. …

Member Avatar for f-aplh
0
151
Member Avatar for alaa sam
Member Avatar for ghosh22

try This code, [CODE]open my $txt, "<", "$ARGV[0]"; read $txt, my $cont, -s $txt; close $txt; my $first=$1 if ($cont=~m#\Q>first\E$(.*?)\Q>firsta\E$#sm); my $firsta=$1 if ($cont=~m#\Q>firsta\E$(.*)$#sm); my (%first, %firsta); for (my $i=1;$first=~m#(.+)#mg;$i++){ $i=sprintf("%04d", $i); $first{$i}=$1; } for (my $i=1;$firsta=~m#(.+)#g;$i++){ $i=sprintf("%04d", $i); $firsta{$i}=$1; } foreach (sort keys %firsta){ if ($first{$_} ne $firsta{$_}){ print …

Member Avatar for ghosh22
0
159
Member Avatar for jaango123
Member Avatar for Makailah

Hi Makailah, The code posted by manimuthu is [B]GREAT[/B]!!. but a small correction u should do. and the revised code is [CODE] use strict; use warnings; ### Declare you input file location my $f_path="e:/dani/test1/hash.txt"; ### Declare your Subroutine and the file as a argument my %hash = get_hash ("$f_path"); ### …

Member Avatar for yuvanbala
0
123
Member Avatar for Makailah

Try this code, [CODE]use 5.010; my (@arr, %arr, $row); while(<DATA>){ @arr=split(/\s+/, $_); for (my $i=1; $i<=$#arr; $i++){ $arr{$i}+=$arr[$i]; } $row++; } say ("total of column $_ is $arr{$_} and average is \t", ($arr{$_}/$row)) for (sort keys (%arr)); __DATA__ 1 2 3 4 5 6 6 6 4 4 2 3 …

Member Avatar for yuvanbala
0
1K
Member Avatar for geek.shrek

Hi Dear, First, you have to separate the event timing as <start year="2009" month="12" day="01" hour="00" min="28" sec="30"/> instead of <start>2009-12-01T00:28:30</start>. Then you use sorting the tag based on the timings. Try this. Regards, yuvanbala [QUOTE=geek.shrek;1074898]Hi, I have a multiple xslt process. I would like to divide a group, for …

Member Avatar for yuvanbala
0
98
Member Avatar for Member #379638

[QUOTE=manowar83;1069761]Hi, everybody! I want to know if there is a way to resolve my problem. So I want with xpath to get only nodes without their child nodes. My xml is: [code] <ts> <uc> <Questions> <q /> <q /> </Questions> </uc> <uc> <Questions> <q /> <q /> <q /> </Questions> …

Member Avatar for yuvanbala
0
368

The End.