Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Table conversion

by satheeshbssb
on Nov 23, 2012 at 11:05 UTC ( #1005252=perlquestion: print w/replies, xml ) Need Help??
satheeshbssb has asked for the wisdom of the Perl Monks concerning the following question:

how to make text table into xml table convesion please give sample coding

Replies are listed 'Best First'.
Re: Table conversion
by CountZero (Bishop) on Nov 23, 2012 at 11:13 UTC
    It would help if you could provide a sample of the input "text table" and a sample of the output "xml table". Otherwise it is impossible to usefully answer your question.

    Also it is appreciated to show some code you may have tried (but failed) to solve your problem.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
Re: Table conversion
by marto (Bishop) on Nov 23, 2012 at 11:12 UTC

    Unless you're talking about the DB2 XMLTABLE funciton you're going to have to be specific. I've already asked you to read and understand How do I post a question effectively?. You need to post example input, desired output and any attempts you've made at coding a solution. Pay special attention to the post formating advice in the link provided.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005252]
help
Chatterbox?
[Corion]: GotToBTru: Heh ;) I'm not really endorsing it, as I found that any gains made through it are easily squandered by the hours spent on configuring it. At least in my case :)
[GotToBTru]: Like most Swiss Army Knives, you can cut yourself trying to find the blade you actually want
[GotToBTru]: i am satisfied with the default settings turning the seemingly random formatting into something reliable
[Corion]: GotToBTru: Yeah, I started a quick(ly implemented but slowly running) implementation of a program that would guess the "best" configuration (that is, least amount of changes) from my code, but then found that it stops parsing the source as soon as it ..
[GotToBTru]: sadly, it can't do anything about this
[Corion]: ... encounters sub foo($bar,$baz) {, which is something I like nowadays
[Corion]: GotToBTru: Yeah, that stuff is hard to do away automatically ;)
[GotToBTru]: yeah, you mentioned it could not handle signatures

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-02-27 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (387 votes). Check out past polls.