LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2009, 07:20 AM   #1
umbrella2
Member
 
Registered: Nov 2008
Posts: 34

Rep: Reputation: 15
perl xml rendering


hi every1,
Suggest me anything which must assist me make a plan or a map. I needed draw a map computer network with either nodes into there with neighbors connections. For instance, I've got some table neighborhood...

my %neigh(
'NY-1' => [NY-2,NY-24,NY-5,NY-77],
'LA-1' => [NY-2,LA-4,LA-3,LA-9],
'SA-2' => [SA-4,LA-9,SA-23,SA-45],
'WA-5' => [NY-2,NY-77,LA-2,WA-33,WA-31,WA-32,WA-35],
);
 
Old 06-27-2009, 06:44 AM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
First of all, your Perl code won't compile under 'use strict';

Second, what does XML have to do with rendering ? Or Perl for that matter ?

Third, how are going to render if the nodes to be connected have no coordinates ?
 
Old 06-28-2009, 06:59 AM   #3
umbrella2
Member
 
Registered: Nov 2008
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Second, what does XML have to do with rendering ? Or Perl for that matter ?
Basicaly it should be contain at least this names.
Quote:
Third, how are going to render if the nodes to be connected have no coordinates ?
yes, it's a good question. The nodes which are neighbors must be pictured around some node. For instance, if we had a sheet 1024x1024, then all tree will have a dom(root)- node and the next drawing them neighbors and connection of the neighbors should strive not crossing, only if that important.
 
Old 06-28-2009, 01:54 PM   #4
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by umbrella2 View Post
Basicaly it should be contain at least this names.
...
Who says so and how he/she justifies the "should" ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
perl xml svg cyb0rg777 Programming 1 09-13-2007 02:42 AM
RRDToll / Perl RRDs - not rendering bzzz Programming 0 03-12-2007 02:19 PM
XML and Perl msvinaykumar Programming 3 08-08-2006 08:16 AM
Perl XML and RE's PB0711 Programming 8 07-25-2006 06:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration